From c7d49f91dac8afeb85cb8ee2b209f7ca4b363a4d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 28 Apr 2022 12:16:35 +0200 Subject: [PATCH] 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 9a6225d8589..0cb2c6d5d77 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) -- 2.39.2