emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c7d49f91da: Fix another help-fns--insert-menu-bindings parsing pr


From: Lars Ingebrigtsen
Subject: master c7d49f91da: Fix another help-fns--insert-menu-bindings parsing problem
Date: Thu, 28 Apr 2022 06:16:50 -0400 (EDT)

branch: master
commit c7d49f91dac8afeb85cb8ee2b209f7ca4b363a4d
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix another help-fns--insert-menu-bindings parsing problem
    
    * lisp/help-fns.el (help-fns--insert-menu-bindings): Fix keymap
    traversal when elements are symbols.
---
 lisp/help-fns.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 9a6225d858..0cb2c6d5d7 100644
--- 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]