From d3882f539c26fe762863f96e7a0c53982906d5e7 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 2 Jan 2019 13:18:19 -0500 Subject: [PATCH] Remove :if from map! It doesn't work as expected and would require too much work to support. --- core/core-keybinds.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/core-keybinds.el b/core/core-keybinds.el index e21d101f5..112275842 100644 --- a/core/core-keybinds.el +++ b/core/core-keybinds.el @@ -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