Define keymap-name-history

* lisp/help-fns.el (keymap-name-history): Define the history
variable (bug#45879).  This avoids problems in other completing
systems like Helm.

Copyright-paperwork-exempt: yes
This commit is contained in:
James N. V. Cash 2021-01-19 07:07:37 +01:00 committed by Lars Ingebrigtsen
parent 378a01e168
commit 4e64d02356

View file

@ -76,6 +76,9 @@ frame.")
;; costly, really).
"Radix-tree representation replacing `definition-prefixes'.")
(defvar keymap-name-history nil
"History for input to `describe-keymap'.")
(defun help-definition-prefixes ()
"Return the up-to-date radix-tree form of `definition-prefixes'."
(when (> (hash-table-count definition-prefixes) 0)