From: Richard M. Stallman Date: Mon, 27 Dec 2004 16:15:53 +0000 (+0000) Subject: (eshell-test-goto-func): Call symbol-file with `defun'. X-Git-Tag: ttn-vms-21-2-B4~3130 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c044263ba10e1d07b1c408a71ac17f51b6c9bbbf;p=emacs.git (eshell-test-goto-func): Call symbol-file with `defun'. --- diff --git a/lisp/eshell/esh-test.el b/lisp/eshell/esh-test.el index 076505da14e..c1b121bbf73 100644 --- a/lisp/eshell/esh-test.el +++ b/lisp/eshell/esh-test.el @@ -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))