changeset 59123:f9293296e0cb

(debugger-make-xrefs): Call symbol-file with `defun'.
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Dec 2004 16:17:46 +0000
parents 9b98188d56ae
children f38536b30f3a
files lisp/emacs-lisp/debug.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/debug.el	Mon Dec 27 16:17:10 2004 +0000
+++ b/lisp/emacs-lisp/debug.el	Mon Dec 27 16:17:46 2004 +0000
@@ -352,7 +352,7 @@
 	       (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