all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history
@ 2021-01-15  0:32 James N. V. Cash
  2021-01-15  2:31 ` Drew Adams
  2021-01-19  6:09 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: James N. V. Cash @ 2021-01-15  0:32 UTC (permalink / raw)
  To: 45879


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






^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-01-19 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-15  0:32 bug#45879: 28.0.50; [PATCH] missing defvar for keymap-name-history James N. V. Cash
2021-01-15  2:31 ` 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.