summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 38e331dc992..e27a1e47b5c 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -592,9 +592,10 @@ it is displayed along with the global value."
"Describe variable (default %s): " v)
"Describe variable: ")
obarray
- '(lambda (vv)
- (or (boundp vv)
- (get vv 'variable-documentation)))
+ (lambda (vv)
+ (and (not (keywordp vv))
+ (or (boundp vv)
+ (get vv 'variable-documentation))))
t nil nil
(if (symbolp v) (symbol-name v))))
(list (if (equal val "")