fix: wrong-type-arg error on startup
Regression caused by change to doom-enlist inb35b32273
. Amend:b35b32273a
This commit is contained in:
parent
db9106f92c
commit
b0438f1589
1 changed files with 4 additions and 2 deletions
|
@ -301,7 +301,8 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
|
|||
(setq rest nil))
|
||||
(:prefix-map
|
||||
(cl-destructuring-bind (prefix . desc)
|
||||
(doom-enlist (pop rest))
|
||||
(let ((arg (pop rest)))
|
||||
(if (consp arg) arg (list arg)))
|
||||
(let ((keymap (intern (format "doom-leader-%s-map" desc))))
|
||||
(setq rest
|
||||
(append (list :desc desc prefix keymap
|
||||
|
@ -311,7 +312,8 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
|
|||
doom--map-forms))))
|
||||
(:prefix
|
||||
(cl-destructuring-bind (prefix . desc)
|
||||
(doom-enlist (pop rest))
|
||||
(let ((arg (pop rest)))
|
||||
(if (consp arg) arg (list arg)))
|
||||
(doom--map-set (if doom--map-fn :infix :prefix)
|
||||
prefix)
|
||||
(when (stringp desc)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue