From 5cfc20646f3158a41ac7b5708ef83fda97e2c15d Mon Sep 17 00:00:00 2001 From: justbur Date: Thu, 3 Sep 2015 13:11:12 -0400 Subject: [PATCH] Minor fix on last commit --- which-key.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/which-key.el b/which-key.el index 44553931643..d4ab3183306 100644 --- a/which-key.el +++ b/which-key.el @@ -549,7 +549,7 @@ to `which-key-prefix-title-alist'." (which-key--add-key-val-to-alist which-key-prefix-title-alist key-sequence -title))) (setq key-sequence (pop more) name (pop more)))) -(put 'which-key-declare-prefix-names 'lisp-indent-function 'defun) +(put 'which-key-declare-prefixes 'lisp-indent-function 'defun) ;;;###autoload (defun which-key-declare-prefixes-for-mode (mode key-sequence name &rest more) @@ -572,7 +572,7 @@ addition KEY-SEQUENCE NAME pairs) to apply." (if (assq mode which-key-prefix-name-alist) (setcdr (assq mode which-key-prefix-name-alist) mode-name-alist) (push (cons mode mode-name-alist) which-key-prefix-name-alist)))) -(put 'which-key-declare-prefix-names-for-mode 'lisp-indent-function 'defun) +(put 'which-key-declare-prefixes-for-mode 'lisp-indent-function 'defun) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Functions for computing window sizes