From: Nick Roberts Date: Tue, 22 Nov 2005 03:35:33 +0000 (+0000) Subject: (gdb-locals-watch-keymap): Add "\r" binding to local map. X-Git-Tag: emacs-pretest-22.0.90~5718 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5fdd4cf709ffb9c92cb565a60117afbd6fc43aa5;p=emacs.git (gdb-locals-watch-keymap): Add "\r" binding to local map. --- 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)