emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r103622: lisp/help-fns.el (describe-v


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r103622: lisp/help-fns.el (describe-variable): Don't complete keywords.
Date: Fri, 11 Mar 2011 01:33:57 +0100
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 103622
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2011-03-11 01:33:57 +0100
message:
  lisp/help-fns.el (describe-variable): Don't complete keywords.
modified:
  lisp/ChangeLog
  lisp/help-fns.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-03-10 23:40:46 +0000
+++ b/lisp/ChangeLog    2011-03-11 00:33:57 +0000
@@ -1,3 +1,8 @@
+2011-03-11  Juanma Barranquero  <address@hidden>
+
+       * help-fns.el (describe-variable): Don't complete keywords.
+       Suggested by Teodor Zlatanov <address@hidden>.
+
 2011-03-10  Chong Yidong  <address@hidden>
 
        * emacs-lisp/package.el (package-version-join): Impose a standard

=== modified file 'lisp/help-fns.el'
--- a/lisp/help-fns.el  2011-02-24 08:26:25 +0000
+++ b/lisp/help-fns.el  2011-03-11 00:33:57 +0000
@@ -592,9 +592,10 @@
                                     "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 "")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]