From: "James N. V. Cash" <james.nvc@gmail.com>
To: 45879@debbugs.gnu.org
Subject: bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history
Date: Thu, 14 Jan 2021 19:32:14 -0500 [thread overview]
Message-ID: <87r1mn6nw1.fsf@gmail.com> (raw)
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
next reply other threads:[~2021-01-15 0:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-15 0:32 James N. V. Cash [this message]
2021-01-15 2:31 ` bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history Drew Adams
2021-01-15 15:08 ` James N. V. Cash
2021-01-19 6:09 ` Lars Ingebrigtsen
2021-01-19 15:11 ` James N. V. Cash
2021-01-19 15:23 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r1mn6nw1.fsf@gmail.com \
--to=james.nvc@gmail.com \
--cc=45879@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).