From: Juri Linkov Date: Tue, 19 Jan 2021 18:27:29 +0000 (+0200) Subject: * lisp/help-fns.el: Move defvar keymap-name-history closer to where it's used. X-Git-Tag: emacs-28.0.90~4206 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eec059b124ed57956cf896904ef8240b24cc7ead;p=emacs.git * lisp/help-fns.el: Move defvar keymap-name-history closer to where it's used. --- diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 7be2826361c..da905192467 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -76,9 +76,6 @@ 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) @@ -1656,6 +1653,9 @@ in `describe-keymap'. See also `Searching the Active Keymaps'." (get-char-property (point) 'local-map) (current-local-map))))) +(defvar keymap-name-history nil + "History for input to `describe-keymap'.") + ;;;###autoload (defun describe-keymap (keymap) "Describe key bindings in KEYMAP.