diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-12-25 08:14:45 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-12-25 08:14:45 +0000 |
commit | 96cfb092f5af5e08728462606670aab58e7a9524 (patch) | |
tree | 39ea060d9b3dbcea3ca52608358fee5e106127e5 /lisp/emacs-lisp/debug.el | |
parent | b0b85883c4e2976fffa2bc16b6ece49a1cee5390 (diff) | |
download | emacs-96cfb092f5af5e08728462606670aab58e7a9524.tar.gz |
(debugger-mode-map): Bind C-m, not `RET'.
(debugger-make-xrefs): Only make a button for the first symbol on any line.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
-rw-r--r-- | lisp/emacs-lisp/debug.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el index 63e77bb2595..028344612e7 100644 --- a/lisp/emacs-lisp/debug.el +++ b/lisp/emacs-lisp/debug.el @@ -337,7 +337,8 @@ That buffer should be current already." ;; 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 @@ Applies to the frame whose line point is on in the backtrace." (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) )) |