From 5760219d1dac0d542ee79671bd4f3bc5c96f6b2a Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Tue, 14 Jan 2003 20:47:21 +0000 Subject: [PATCH] (apropos): Restore autoload cookie. Fix error message typo. --- lisp/ChangeLog | 5 +++++ lisp/apropos.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3aacc0d233a..7002714c4d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-01-14 John Paul Wallington + + * apropos.el (apropos): Restore autoload cookie. Fix error + message typo. + 2003-01-14 Kim F. Storm * subr.el (process-put, process-get): New functions. diff --git a/lisp/apropos.el b/lisp/apropos.el index 159ad669d3e..63450adbc62 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -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) -- 2.39.2