diff options
author | Juri Linkov <juri@linkov.net> | 2021-01-19 20:27:29 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2021-01-19 20:27:29 +0200 |
commit | eec059b124ed57956cf896904ef8240b24cc7ead (patch) | |
tree | 3491643d26a39c1ed5ba69232629571660492a66 | |
parent | e718d3a84920f545b6a3540a3ba9c2ccd7eefdf7 (diff) | |
download | emacs-eec059b124ed57956cf896904ef8240b24cc7ead.tar.gz |
* lisp/help-fns.el: Move defvar keymap-name-history closer to where it's used.
-rw-r--r-- | lisp/help-fns.el | 6 |
1 files changed, 3 insertions, 3 deletions
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. |