* lisp/emacs-lisp/find-func.el (find-function-library):
Update for symbol-function no longer erroring. (Bug#23626)
This commit is contained in:
parent
c3489d0504
commit
71c152e2af
1 changed files with 4 additions and 2 deletions
|
@ -357,7 +357,9 @@ signal an error.
|
||||||
|
|
||||||
If VERBOSE is non-nil, and FUNCTION is an alias, display a
|
If VERBOSE is non-nil, and FUNCTION is an alias, display a
|
||||||
message about the whole chain of aliases."
|
message about the whole chain of aliases."
|
||||||
(let ((def (if (symbolp function)
|
(let ((def (when (symbolp function)
|
||||||
|
(or (fboundp function)
|
||||||
|
(signal 'void-function (list function)))
|
||||||
(find-function-advised-original function)))
|
(find-function-advised-original function)))
|
||||||
aliases)
|
aliases)
|
||||||
;; FIXME for completeness, it might be nice to print something like:
|
;; FIXME for completeness, it might be nice to print something like:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue