mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(apropos): Handle aliases for undefined functions.
This commit is contained in:
parent
47414bc1e2
commit
af57e0fa0d
@ -227,7 +227,10 @@ Returns list of symbols and documentation found."
|
||||
(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)
|
||||
|
Loading…
Reference in New Issue
Block a user