Don't error on 'C-h f menu-bar-open-mouse RET'
* lisp/help-fns.el (help-fns--insert-menu-bindings): Fix error when passed 'menu-bar-open-mouse'. (Bug#76172)
This commit is contained in:
parent
e33eb91061
commit
55ffbeaab1
1 changed files with 2 additions and 1 deletions
|
@ -649,7 +649,8 @@ the C sources, too."
|
|||
(lambda (entry level)
|
||||
(when (symbolp map)
|
||||
(setq map (symbol-function map)))
|
||||
(when-let* ((elem (assq entry (cdr map))))
|
||||
(when-let* ((elem (assq entry (cdr map)))
|
||||
(_ (proper-list-p elem)))
|
||||
(when (> level 0)
|
||||
(push sep string))
|
||||
(if (eq (nth 1 elem) 'menu-item)
|
||||
|
|
Loading…
Add table
Reference in a new issue