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

lisp/help-fns.el (describe-variable): Fix completion.

http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
parent d451951a
2011-04-04 Juanma Barranquero <lekktu@gmail.com>
* help-fns.el (describe-variable): Complete all variables having
documentation, including keywords.
http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
2011-04-04 Juanma Barranquero <lekktu@gmail.com>
 
Convert to lexical-binding.
......
......@@ -635,8 +635,8 @@ it is displayed along with the global value."
"Describe variable: ")
obarray
(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