mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-26 10:49:33 +00:00
(eshell-test-goto-func): Call symbol-file with `defun'.
This commit is contained in:
parent
9c8483538f
commit
c044263ba1
@ -125,7 +125,7 @@
|
||||
(let ((fsym (get-text-property (point) 'test-func)))
|
||||
(when fsym
|
||||
(let* ((def (symbol-function fsym))
|
||||
(library (locate-library (symbol-file fsym)))
|
||||
(library (locate-library (symbol-file fsym 'defun)))
|
||||
(name (substring (symbol-name fsym)
|
||||
(length "eshell-test--")))
|
||||
(inhibit-redisplay t))
|
||||
|
Loading…
Reference in New Issue
Block a user