Mercurial > emacs
changeset 22182:8075f717f3e4
(apropos): Handle aliases for undefined functions.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 22 May 1998 06:29:05 +0000 |
parents | dc8c3736ebea |
children | 3eedfddbbadd |
files | lisp/apropos.el |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/apropos.el Fri May 22 05:00:25 1998 +0000 +++ b/lisp/apropos.el Fri May 22 06:29:05 1998 +0000 @@ -227,7 +227,10 @@ (setcar p (list (setq symbol (car p)) (when (fboundp symbol) - (if (setq doc (documentation symbol t)) + (if (setq doc (condition-case nil + (documentation symbol t) + (void-function + "(alias for undefined function)"))) (substring doc 0 (string-match "\n" doc)) "(not documented)")) (when (boundp symbol)