diff --git a/lisp/help.el b/lisp/help.el index 1ef46e394f3..5700f10fdc8 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -175,6 +175,9 @@ help-quick-sections COMMAND is the symbol of a command and DESCRIPTION is its short description, 10 to 15 char5acters at most.") +(defvar help-quick-use-map global-map + "Keymap that `help-quick' should use to lookup bindings.") + (declare-function prop-match-value "text-property-search" (match)) ;; Inspired by a mg fork (https://github.com/troglobit/mg) @@ -193,7 +196,7 @@ help-quick (let ((max-key-len 0) (max-cmd-len 0) keys) (dolist (ent (reverse (cdr section))) (catch 'skip - (let* ((bind (where-is-internal (car ent) nil t)) + (let* ((bind (where-is-internal (car ent) help-quick-use-map t)) (key (if bind (propertize (key-description bind)