diff options
| author | James N. V. Cash | 2021-01-19 07:07:37 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-01-19 07:07:37 +0100 |
| commit | 4e64d023563988a570b6c2ac60d48af7f2d64a68 (patch) | |
| tree | d62f0c65bdb7278f15cc581a9914acaa9ad972f1 | |
| parent | 378a01e16808ce319138141bdc0779d96e17f8bf (diff) | |
| download | emacs-4e64d023563988a570b6c2ac60d48af7f2d64a68.tar.gz emacs-4e64d023563988a570b6c2ac60d48af7f2d64a68.zip | |
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
| -rw-r--r-- | lisp/help-fns.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index d559221a827..7be2826361c 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -76,6 +76,9 @@ frame.") | |||
| 76 | ;; costly, really). | 76 | ;; costly, really). |
| 77 | "Radix-tree representation replacing `definition-prefixes'.") | 77 | "Radix-tree representation replacing `definition-prefixes'.") |
| 78 | 78 | ||
| 79 | (defvar keymap-name-history nil | ||
| 80 | "History for input to `describe-keymap'.") | ||
| 81 | |||
| 79 | (defun help-definition-prefixes () | 82 | (defun help-definition-prefixes () |
| 80 | "Return the up-to-date radix-tree form of `definition-prefixes'." | 83 | "Return the up-to-date radix-tree form of `definition-prefixes'." |
| 81 | (when (> (hash-table-count definition-prefixes) 0) | 84 | (when (> (hash-table-count definition-prefixes) 0) |