diff options
author | Richard M. Stallman <rms@gnu.org> | 2005-12-26 21:22:55 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2005-12-26 21:22:55 +0000 |
commit | 543e570f73647065278ee79a558748b08c1eb0ef (patch) | |
tree | 5b2f2499ec838660b4c8dd328a31cd7960e4af00 /lisp | |
parent | 2a4ec7e1ef5cbb34bf65c888ff600787ec4654b2 (diff) | |
download | emacs-543e570f73647065278ee79a558748b08c1eb0ef.tar.gz |
(apropos): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/apropos.el | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el index c4ce2d1fa3c..c8201de492a 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -511,21 +511,22 @@ or a regexp (using some regexp special characters). If it is a word, 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) |