1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

(apropos): Restore autoload cookie. Fix error

message typo.
This commit is contained in:
John Paul Wallington 2003-01-14 20:47:21 +00:00
parent cbcf7a8e45
commit 5760219d1d
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-01-14 John Paul Wallington <jpw@shootybangbang.com>
* apropos.el (apropos): Restore autoload cookie. Fix error
message typo.
2003-01-14 Kim F. Storm <storm@cua.dk>
* subr.el (process-put, process-get): New functions.

View File

@ -440,6 +440,8 @@ satisfy the predicate VAR-PREDICATE."
"(not documented)"))
(error "(error retrieving documentation)")))
;;;###autoload
(defun apropos (apropos-regexp &optional do-all)
"Show all bound symbols whose names match APROPOS-REGEXP.
With optional prefix DO-ALL or if `apropos-do-all' is non-nil, also
@ -473,7 +475,7 @@ time-consuming. Returns list of symbols and documentation found."
(void-function
"(alias for undefined function)")
(error
"(error retrieving function documentation")))
"(error retrieving function documentation)")))
(substring doc 0 (string-match "\n" doc))
"(not documented)"))
(when (boundp symbol)