aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2011-04-06 03:26:46 +0200
committerJuanma Barranquero2011-04-06 03:26:46 +0200
commit7afdcb4571269bd1175fe8f5d3aac928ce942ec0 (patch)
tree20f8194b5bfef83a2dcbe15392b1ecfa2057a575
parent3b361baff2c3983b311cee075626b5c7b9591e82 (diff)
downloademacs-7afdcb4571269bd1175fe8f5d3aac928ce942ec0.tar.gz
emacs-7afdcb4571269bd1175fe8f5d3aac928ce942ec0.zip
Backport 2011-04-04T22:08:01Z!lekktu@gmail.com and 2011-04-04T22:33:12Z!lekktu@gmail.com from trunk.
* help-fns.el (describe-variable): Complete all variables having documentation, including keywords. http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/help-fns.el5
2 files changed, 9 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4c71d21b627..9cab908cdae 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,10 @@
12011-04-06 Juanma Barranquero <lekktu@gmail.com>
2
3 Backport revno:103823 and revno:103824 from trunk.
4 * help-fns.el (describe-variable): Complete all variables having
5 documentation, including keywords.
6 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7
12011-03-24 Juanma Barranquero <lekktu@gmail.com> 82011-03-24 Juanma Barranquero <lekktu@gmail.com>
2 9
3 * vc-annotate.el (vc-annotate-show-log-revision-at-line): 10 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index e0cfb7039f9..fbe87d99208 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -586,9 +586,8 @@ it is displayed along with the global value."
586 "Describe variable: ") 586 "Describe variable: ")
587 obarray 587 obarray
588 (lambda (vv) 588 (lambda (vv)
589 (and (not (keywordp vv)) 589 (or (get vv 'variable-documentation)
590 (or (boundp vv) 590 (and (boundp vv) (not (keywordp vv)))))
591 (get vv 'variable-documentation))))
592 t nil nil 591 t nil nil
593 (if (symbolp v) (symbol-name v)))) 592 (if (symbolp v) (symbol-name v))))
594 (list (if (equal val "") 593 (list (if (equal val "")