diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 9324cf85454..6112df99850 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el @@ -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)