mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 14:30:43 -08:00
Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
* lisp/help-fns.el (describe-variable): Don't complete keywords.
This commit is contained in:
parent
2920e68d73
commit
6dbf95e5b3
2 changed files with 10 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2011-03-11 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
Backport revno:103622 from trunk.
|
||||
* help-fns.el (describe-variable): Don't complete keywords.
|
||||
Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
|
||||
|
||||
2011-03-11 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* files.el (file-ownership-preserved-p): Pass `integer' as an
|
||||
|
|
|
|||
|
|
@ -585,9 +585,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 "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue