summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/help.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/help.el b/lisp/help.el
index df055d602fe..466ff21eb2d 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1189,8 +1189,8 @@ Any inserted text ends in two newlines (used by
;; map.
(or (keymapp sub-shadows)
(null sub-shadows)
- (consp sub-shadows)
- (not (keymapp (car sub-shadows)))))
+ (and (consp sub-shadows)
+ (keymapp (car sub-shadows)))))
;; Maps we have already listed in this loop shadow this map.
(let ((tail orig-maps))
(while (not (equal tail maps))