1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-24 00:40:35 -08:00

Fix switching to top-level from which-key-undo-key

This commit is contained in:
Justin Burkett 2018-03-01 13:18:43 -05:00
parent 437065886d
commit d19fe4e037

View file

@ -2246,7 +2246,8 @@ current evil state. "
(key-lst
(which-key-reload-key-sequence key-lst)
(which-key--create-buffer-and-show (apply #'vector key-lst)))
(t (which-key-show-top-level)))))
(t (setq which-key--automatic-display nil)
(which-key-show-top-level)))))
(defalias 'which-key-undo 'which-key-undo-key)
(defun which-key-abort (&optional _)