projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ba039d
)
Fix another help-fns--insert-menu-bindings parsing problem
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 28 Apr 2022 10:16:35 +0000
(12:16 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 28 Apr 2022 10:16:35 +0000
(12:16 +0200)
* lisp/help-fns.el (help-fns--insert-menu-bindings): Fix keymap
traversal when elements are symbols.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 9a6225d8589db2cab58089d07419a901ab1844df..0cb2c6d5d77d81388bca1364adf58f919f0d74fd 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-592,6
+592,8
@@
the C sources, too."
(start (point)))
(seq-do-indexed
(lambda (entry level)
+ (when (symbolp map)
+ (setq map (symbol-function map)))
(when-let ((elem (assq entry (cdr map))))
(when heading
(insert heading)