diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-11-22 03:35:33 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-11-22 03:35:33 +0000 |
commit | 5fdd4cf709ffb9c92cb565a60117afbd6fc43aa5 (patch) | |
tree | 27d544940b0886ed62c0f4db7e67d1ee16b2759b /lisp | |
parent | e7eda245689907e284c3bb1640a40fc275db5a15 (diff) | |
download | emacs-5fdd4cf709ffb9c92cb565a60117afbd6fc43aa5.tar.gz |
(gdb-locals-watch-keymap): Add "\r" binding to local map.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/progmodes/gdb-ui.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el index 0d4c9211b09..961ee0747ff 100644 --- a/lisp/progmodes/gdb-ui.el +++ b/lisp/progmodes/gdb-ui.el @@ -2234,6 +2234,9 @@ corresponding to the mode line clicked." (defvar gdb-locals-watch-keymap (let ((map (make-sparse-keymap))) + (define-key map "\r" '(lambda () (interactive) + (beginning-of-line) + (gud-watch))) (define-key map [mouse-2] '(lambda (event) (interactive "e") (mouse-set-point event) (beginning-of-line) |