1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-25 01:10:47 -08:00

Autoload the show keymap functions

This commit is contained in:
Justin Burkett 2018-02-23 13:48:51 -05:00
parent 506c34829c
commit ca991b0d3a

View file

@ -2300,18 +2300,21 @@ Only if no keys fit fallback to LOC2."
(symbol-value keymap-sym)
nil all)))
;;;###autoload
(defun which-key-show-keymap ()
"Show the top-level bindings in KEYMAP using which-key. KEYMAP
is selected interactively from all available keymaps."
(interactive)
(which-key-show-keymap-1))
;;;###autoload
(defun which-key-show-full-keymap ()
"Show all bindings in KEYMAP using which-key. KEYMAP is
selected interactively from all available keymaps."
(interactive)
(which-key-show-keymap-1 t))
;;;###autoload
(defun which-key-show-minor-mode-keymap ()
"Show the top-level bindings in KEYMAP using which-key. KEYMAP
is selected interactively by mode in `minor-mode-map-alist'."