Remove :if from map!

It doesn't work as expected and would require too much work to support.
This commit is contained in:
Henrik Lissner 2019-01-02 13:18:19 -05:00
parent 9628a74718
commit d3882f539c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -148,7 +148,6 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
(put :mode 'lisp-indent-function 'defun)
(put :prefix 'lisp-indent-function 'defun)
(put :unless 'lisp-indent-function 'defun)
(put :if 'lisp-indent-function 'defun)
(put :when 'lisp-indent-function 'defun)
;; specials
@ -190,7 +189,7 @@ For example, :nvi will map to (list 'normal 'visual 'insert). See
collect (intern (concat (symbol-name m) "-map")))
rest)
(push :map rest))
((or :if :when :unless)
((or :when :unless)
(doom--map-nested (list (intern (doom-keyword-name key)) (pop rest)) rest)
(setq rest nil))
(:prefix