Remove :if from map!
It doesn't work as expected and would require too much work to support.
This commit is contained in:
parent
9628a74718
commit
d3882f539c
1 changed files with 1 additions and 2 deletions
|
@ -148,7 +148,6 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
|
||||||
(put :mode 'lisp-indent-function 'defun)
|
(put :mode 'lisp-indent-function 'defun)
|
||||||
(put :prefix 'lisp-indent-function 'defun)
|
(put :prefix 'lisp-indent-function 'defun)
|
||||||
(put :unless 'lisp-indent-function 'defun)
|
(put :unless 'lisp-indent-function 'defun)
|
||||||
(put :if 'lisp-indent-function 'defun)
|
|
||||||
(put :when 'lisp-indent-function 'defun)
|
(put :when 'lisp-indent-function 'defun)
|
||||||
|
|
||||||
;; specials
|
;; specials
|
||||||
|
@ -190,7 +189,7 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
|
||||||
collect (intern (concat (symbol-name m) "-map")))
|
collect (intern (concat (symbol-name m) "-map")))
|
||||||
rest)
|
rest)
|
||||||
(push :map rest))
|
(push :map rest))
|
||||||
((or :if :when :unless)
|
((or :when :unless)
|
||||||
(doom--map-nested (list (intern (doom-keyword-name key)) (pop rest)) rest)
|
(doom--map-nested (list (intern (doom-keyword-name key)) (pop rest)) rest)
|
||||||
(setq rest nil))
|
(setq rest nil))
|
||||||
(:prefix
|
(:prefix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue