Commit 135e287c authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/help-fns.el (describe-variable): Don't complete keywords.

parent c40f8d15
2011-03-11 Juanma Barranquero <lekktu@gmail.com>
* help-fns.el (describe-variable): Don't complete keywords.
Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2011-03-10 Chong Yidong <cyd@stupidchicken.com>
 
* emacs-lisp/package.el (package-version-join): Impose a standard
......
......@@ -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 "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment