mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Remove :if from map!
It doesn't work as expected and would require too much work to support.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user