From: Richard M. Stallman Date: Mon, 27 Dec 2004 16:17:46 +0000 (+0000) Subject: (debugger-make-xrefs): Call symbol-file with `defun'. X-Git-Tag: ttn-vms-21-2-B4~3127 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=654359e2e3cbae9727b2bf6a298054bee9e10d41;p=emacs.git (debugger-make-xrefs): Call symbol-file with `defun'. --- diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 6e10b596e23..a84a7aca52c 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -352,7 +352,7 @@ That buffer should be current already." (end (progn (skip-syntax-forward "w_") (point))) (sym (intern-soft (buffer-substring-no-properties beg end))) - (file (and sym (symbol-file sym)))) + (file (and sym (symbol-file sym 'defun)))) (when file (goto-char beg) ;; help-xref-button needs to operate on something matched