1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-04 08:47:11 +00:00

(debugger-make-xrefs): Call symbol-file with `defun'.

This commit is contained in:
Richard M. Stallman 2004-12-27 16:17:46 +00:00
parent 9f14330b7b
commit 654359e2e3

View File

@ -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