Mercurial > emacs
changeset 60946:a44ce059d2d1
(gdb-breakpoints-mode-map)
(gdb-frames-mode-map): Add follow-link property.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Fri, 25 Mar 2005 22:04:45 +0000 |
parents | 60ee667d3053 |
children | 5af5576752f5 |
files | lisp/progmodes/gdb-ui.el |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gdb-ui.el Fri Mar 25 22:03:01 2005 +0000 +++ b/lisp/progmodes/gdb-ui.el Fri Mar 25 22:04:45 2005 +0000 @@ -1299,10 +1299,10 @@ (defvar gdb-breakpoints-mode-map (let ((map (make-sparse-keymap)) (menu (make-sparse-keymap "Breakpoints"))) - (define-key menu [toggle] '("Toggle" . gdb-toggle-breakpoint)) + (define-key menu [quit] '("Quit" . kill-this-buffer)) + (define-key menu [goto] '("Goto" . gdb-goto-breakpoint)) (define-key menu [delete] '("Delete" . gdb-delete-breakpoint)) - (define-key menu [goto] '("Goto" . gdb-goto-breakpoint)) - + (define-key menu [toggle] '("Toggle" . gdb-toggle-breakpoint)) (suppress-keymap map) (define-key map [menu-bar breakpoints] (cons "Breakpoints" menu)) (define-key map " " 'gdb-toggle-breakpoint) @@ -1310,6 +1310,7 @@ (define-key map "q" 'kill-this-buffer) (define-key map "\r" 'gdb-goto-breakpoint) (define-key map [mouse-2] 'gdb-goto-breakpoint) + (define-key map [follow-link] 'mouse-face) map)) (defun gdb-breakpoints-mode () @@ -1435,6 +1436,7 @@ (define-key map "q" 'kill-this-buffer) (define-key map "\r" 'gdb-frames-select) (define-key map [mouse-2] 'gdb-frames-select) + (define-key map [follow-link] 'mouse-face) map)) (defun gdb-frames-mode ()