comparison lisp/apropos.el @ 67829:61ed6a33ffff

(apropos, apropos-value): Doc fix. (apropos-documentation): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Mon, 26 Dec 2005 21:21:04 +0000
parents 51e8cdc7d8a8
children c18efc46bedd
comparison
equal deleted inserted replaced
67828:0af1084b1b6e 67829:61ed6a33ffff
500 (error "(error retrieving documentation)"))) 500 (error "(error retrieving documentation)")))
501 501
502 502
503 ;;;###autoload 503 ;;;###autoload
504 (defun apropos (pattern &optional do-all) 504 (defun apropos (pattern &optional do-all)
505 "Show all bound symbols whose names match PATTERN. 505 "Show all meaningful Lisp symbols whose names match PATTERN.
506 Symbols are shown if they are defined as functions, variables, or
507 faces, or if they have nonempty property lists.
508
506 PATTERN can be a word, a list of words (separated by spaces), 509 PATTERN can be a word, a list of words (separated by spaces),
507 or a regexp (using some regexp special characters). If it is a word, 510 or a regexp (using some regexp special characters). If it is a word,
508 search for matches for that word as a substring. If it is a list of words, 511 search for matches for that word as a substring. If it is a list of words,
509 search for matches for any two (or more) of those words. 512 search for matches for any two (or more) of those words.
510 513
569 (apropos-print keys nil text))) 572 (apropos-print keys nil text)))
570 573
571 574
572 ;;;###autoload 575 ;;;###autoload
573 (defun apropos-value (pattern &optional do-all) 576 (defun apropos-value (pattern &optional do-all)
574 "Show all symbols whose value's printed image matches PATTERN. 577 "Show all symbols whose value's printed representation matches PATTERN.
575 PATTERN can be a word, a list of words (separated by spaces), 578 PATTERN can be a word, a list of words (separated by spaces),
576 or a regexp (using some regexp special characters). If it is a word, 579 or a regexp (using some regexp special characters). If it is a word,
577 search for matches for that word as a substring. If it is a list of words, 580 search for matches for that word as a substring. If it is a list of words,
578 search for matches for any two (or more) of those words. 581 search for matches for any two (or more) of those words.
579 582
614 (apropos-print nil "\n----------------\n")) 617 (apropos-print nil "\n----------------\n"))
615 618
616 619
617 ;;;###autoload 620 ;;;###autoload
618 (defun apropos-documentation (pattern &optional do-all) 621 (defun apropos-documentation (pattern &optional do-all)
619 "Show symbols whose documentation contain matches for PATTERN. 622 "Show symbols whose documentation contains matches for PATTERN.
620 PATTERN can be a word, a list of words (separated by spaces), 623 PATTERN can be a word, a list of words (separated by spaces),
621 or a regexp (using some regexp special characters). If it is a word, 624 or a regexp (using some regexp special characters). If it is a word,
622 search for matches for that word as a substring. If it is a list of words, 625 search for matches for that word as a substring. If it is a list of words,
623 search for matches for any two (or more) of those words. 626 search for matches for any two (or more) of those words.
624 627