changeset 42304:8e051a31d2cd

(debugger-mode-map): Bind C-m, not `RET'. (debugger-make-xrefs): Only make a button for the first symbol on any line.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Dec 2001 08:14:45 +0000
parents c5ddbcd62234
children c976f86658b6
files lisp/emacs-lisp/debug.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/debug.el	Mon Dec 24 20:18:36 2001 +0000
+++ b/lisp/emacs-lisp/debug.el	Tue Dec 25 08:14:45 2001 +0000
@@ -337,7 +337,8 @@
 	    ;; help-xref-button needs to operate on something matched
 	    ;; by a regexp, so set that up for it.
 	    (re-search-forward "\\(\\(\\sw\\|\\s_\\)+\\)")
-	    (help-xref-button 1 'help-function-def sym file))))
+	    (help-xref-button 1 'help-function-def sym file)))
+	(forward-line 1))
       (widen))
     (setq debugger-previous-backtrace (buffer-string))))
 
@@ -530,7 +531,7 @@
     (define-key debugger-mode-map "e" 'debugger-eval-expression)
     (define-key debugger-mode-map " " 'next-line)
     (define-key debugger-mode-map "R" 'debugger-record-expression)
-    (define-key debugger-mode-map [RET] 'help-follow)
+    (define-key debugger-mode-map "\C-m" 'help-follow)
     (define-key debugger-mode-map [mouse-2] 'push-button)
     ))