Skip to content

Commit c8a5e6e

Browse files
committed
fix: map!: allow :map values to be interpolated
With the comma syntax. E.g. (let ((maps '(some-mode-map another-mode-map))) (map! :map ,maps)) This technique was used in the recent rewrite of the Racket module (1baebda), but I forgot to include this change, so Racket users have probably noticed some missing keybinds! This fixes that too. Amend: 1baebda Ref: doomemacs#7543
1 parent a2b1c4d commit c8a5e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/doom-keybinds.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
307307
(:desc
308308
(setq desc (pop rest)))
309309
(:map
310-
(doom--map-set :keymaps `(quote ,(ensure-list (pop rest)))))
310+
(doom--map-set :keymaps `(backquote ,(ensure-list (pop rest)))))
311311
(:mode
312312
(push (cl-loop for m in (ensure-list (pop rest))
313313
collect (intern (concat (symbol-name m) "-map")))

0 commit comments

Comments
 (0)