diff options
| author | Juanma Barranquero | 2011-03-11 15:05:31 +0100 |
|---|---|---|
| committer | Juanma Barranquero | 2011-03-11 15:05:31 +0100 |
| commit | 6dbf95e5b3cf85fce57a5cdd67e7e50b8acb8787 (patch) | |
| tree | 6404b45b327c3977a1a7a46f0efccc5fa0c6789a | |
| parent | 2920e68d73e0009f368e817207964efaff751f85 (diff) | |
| download | emacs-6dbf95e5b3cf85fce57a5cdd67e7e50b8acb8787.tar.gz emacs-6dbf95e5b3cf85fce57a5cdd67e7e50b8acb8787.zip | |
Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
* lisp/help-fns.el (describe-variable): Don't complete keywords.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/help-fns.el | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6685e355360..d84f98a1322 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2011-03-11 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | Backport revno:103622 from trunk. | ||
| 4 | * help-fns.el (describe-variable): Don't complete keywords. | ||
| 5 | Suggested by Teodor Zlatanov <tzz@lifelogs.com>. | ||
| 6 | |||
| 1 | 2011-03-11 Eli Zaretskii <eliz@gnu.org> | 7 | 2011-03-11 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * files.el (file-ownership-preserved-p): Pass `integer' as an | 9 | * files.el (file-ownership-preserved-p): Pass `integer' as an |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index ba8565f5e1e..e0cfb7039f9 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -585,9 +585,10 @@ it is displayed along with the global value." | |||
| 585 | "Describe variable (default %s): " v) | 585 | "Describe variable (default %s): " v) |
| 586 | "Describe variable: ") | 586 | "Describe variable: ") |
| 587 | obarray | 587 | obarray |
| 588 | '(lambda (vv) | 588 | (lambda (vv) |
| 589 | (or (boundp vv) | 589 | (and (not (keywordp vv)) |
| 590 | (get vv 'variable-documentation))) | 590 | (or (boundp vv) |
| 591 | (get vv 'variable-documentation)))) | ||
| 591 | t nil nil | 592 | t nil nil |
| 592 | (if (symbolp v) (symbol-name v)))) | 593 | (if (symbolp v) (symbol-name v)))) |
| 593 | (list (if (equal val "") | 594 | (list (if (equal val "") |