* 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,8 +357,10 @@ 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)
|
||||||
(find-function-advised-original function)))
|
(or (fboundp function)
|
||||||
|
(signal 'void-function (list 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:
|
||||||
;; foo (which is advised), which is an alias for bar (which is advised).
|
;; foo (which is advised), which is an alias for bar (which is advised).
|
||||||
|
|
Loading…
Add table
Reference in a new issue