1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00:00

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

This commit is contained in:
Juanma Barranquero 2011-03-11 01:33:57 +01:00
parent c40f8d15c0
commit 135e287cda
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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 "")