Commit 8d17e7ca authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/help-fns.el (describe-variable): Fix completion.
parent d451951a
2011-04-04 Juanma Barranquero <>
* help-fns.el (describe-variable): Complete all variables having
documentation, including keywords.
2011-04-04 Juanma Barranquero <>
Convert to lexical-binding.
......@@ -635,8 +635,8 @@ it is displayed along with the global value."
"Describe variable: ")
(lambda (vv)
(or (special-variable-p vv)
(get vv 'variable-documentation)))
(or (get vv 'variable-documentation)
(not (keywordp vv))))
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