diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-12-27 16:17:46 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-12-27 16:17:46 +0000 |
commit | 654359e2e3cbae9727b2bf6a298054bee9e10d41 (patch) | |
tree | 3686e1ed9ce8814874bb49f4af3e5e5b1dda9de7 /lisp/emacs-lisp | |
parent | 9f14330b7bd7166616c72898e1f33fd556266b1c (diff) | |
download | emacs-654359e2e3cbae9727b2bf6a298054bee9e10d41.tar.gz |
(debugger-make-xrefs): Call symbol-file with `defun'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/debug.el | 2 |
1 files changed, 1 insertions, 1 deletions
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 |