changeset 67830:c18efc46bedd

(apropos): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Dec 2005 21:22:55 +0000
parents 61ed6a33ffff
children 5cb0abe0420f
files lisp/apropos.el
diffstat 1 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/apropos.el	Mon Dec 26 21:21:04 2005 +0000
+++ b/lisp/apropos.el	Mon Dec 26 21:22:55 2005 +0000
@@ -511,21 +511,22 @@
 search for matches for that word as a substring.  If it is a list of words,
 search for matches for any two (or more) of those words.
 
-With \\[universal-argument] prefix, or if `apropos-do-all' is non-nil, also
-show unbound symbols and key bindings, which is a little more
-time-consuming.  Returns list of symbols and documentation found."
+With \\[universal-argument] prefix, or if `apropos-do-all' is non-nil,
+consider all symbols (if they match PATTERN).
+
+Returns list of symbols and documentation found."
   (interactive (list (apropos-read-pattern "symbol")
 		     current-prefix-arg))
   (apropos-parse-pattern pattern)
   (apropos-symbols-internal
    (apropos-internal apropos-regexp
-			  (and (not do-all)
-			       (not apropos-do-all)
-			       (lambda (symbol)
-				 (or (fboundp symbol)
-				     (boundp symbol)
-				     (facep symbol)
-				     (symbol-plist symbol)))))
+		     (and (not do-all)
+			  (not apropos-do-all)
+			  (lambda (symbol)
+			    (or (fboundp symbol)
+				(boundp symbol)
+				(facep symbol)
+				(symbol-plist symbol)))))
    (or do-all apropos-do-all)))
 
 (defun apropos-symbols-internal (symbols keys &optional text)