[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history
From: |
James N. V. Cash |
Subject: |
bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history |
Date: |
Thu, 14 Jan 2021 19:32:14 -0500 |
It seems that the new describe-keymaps function in help-fns.el is
missing a defvar for keymap-name-history. This results in an error
when using, e.g. Helm as the completing-read function.
The attached patch adds the defvar to help-fns.el.
---
lisp/help-fns.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index d559221a82..7be2826361 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -76,6 +76,9 @@ help-definition-prefixes
;; 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)
--
2.25.1
- bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history,
James N. V. Cash <=