diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help-fns.el | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c794ddb0788..ca24dcff4a7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-03-11 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * help-fns.el (describe-variable): Don't complete keywords. | ||
| 4 | Suggested by Teodor Zlatanov <tzz@lifelogs.com>. | ||
| 5 | |||
| 1 | 2011-03-10 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-03-10 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * emacs-lisp/package.el (package-version-join): Impose a standard | 8 | * emacs-lisp/package.el (package-version-join): Impose a standard |
diff --git a/lisp/help-fns.el b/lisp/help-fns.el index 38e331dc992..e27a1e47b5c 100644 --- a/lisp/help-fns.el +++ b/lisp/help-fns.el | |||
| @@ -592,9 +592,10 @@ it is displayed along with the global value." | |||
| 592 | "Describe variable (default %s): " v) | 592 | "Describe variable (default %s): " v) |
| 593 | "Describe variable: ") | 593 | "Describe variable: ") |
| 594 | obarray | 594 | obarray |
| 595 | '(lambda (vv) | 595 | (lambda (vv) |
| 596 | (or (boundp vv) | 596 | (and (not (keywordp vv)) |
| 597 | (get vv 'variable-documentation))) | 597 | (or (boundp vv) |
| 598 | (get vv 'variable-documentation)))) | ||
| 598 | t nil nil | 599 | t nil nil |
| 599 | (if (symbolp v) (symbol-name v)))) | 600 | (if (symbolp v) (symbol-name v)))) |
| 600 | (list (if (equal val "") | 601 | (list (if (equal val "") |