(gdb-locals-watch-keymap): Add "\r" binding to local map.

This commit is contained in:
Nick Roberts 2005-11-22 03:35:33 +00:00
parent e7eda24568
commit 5fdd4cf709

View file

@ -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)