diff options
| author | Richard M. Stallman | 2004-12-27 16:17:46 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2004-12-27 16:17:46 +0000 |
| commit | 654359e2e3cbae9727b2bf6a298054bee9e10d41 (patch) | |
| tree | 3686e1ed9ce8814874bb49f4af3e5e5b1dda9de7 | |
| parent | 9f14330b7bd7166616c72898e1f33fd556266b1c (diff) | |
| download | emacs-654359e2e3cbae9727b2bf6a298054bee9e10d41.tar.gz emacs-654359e2e3cbae9727b2bf6a298054bee9e10d41.zip | |
(debugger-make-xrefs): Call symbol-file with `defun'.
| -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." | |||
| 352 | (end (progn (skip-syntax-forward "w_") (point))) | 352 | (end (progn (skip-syntax-forward "w_") (point))) |
| 353 | (sym (intern-soft (buffer-substring-no-properties | 353 | (sym (intern-soft (buffer-substring-no-properties |
| 354 | beg end))) | 354 | beg end))) |
| 355 | (file (and sym (symbol-file sym)))) | 355 | (file (and sym (symbol-file sym 'defun)))) |
| 356 | (when file | 356 | (when file |
| 357 | (goto-char beg) | 357 | (goto-char beg) |
| 358 | ;; help-xref-button needs to operate on something matched | 358 | ;; help-xref-button needs to operate on something matched |