From d60d4cd6ef15e4162e4e0abdddb522b541d30010 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Fri, 2 Dec 2005 09:15:56 +0000 Subject: [PATCH] (gud-menu-map): Put gud-finish back on the tool bar (removed inadvertantly). --- lisp/progmodes/gud.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 81ae4c3cd02..f6ef6f1e810 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -189,6 +189,9 @@ Used to grey out relevant togolbar icons.") :enable (not gud-running)) ([watch] menu-item "Watch Expression" gud-watch :enable (and (not gud-running) + (memq gud-minor-mode '(gdbmi gdba)))) + ([finish] menu-item "Finish Function" gud-finish + :enable (and (not gud-running) (memq gud-minor-mode '(gdbmi gdba gdb xdb jdb pdb bashdb)))) ([stepi] menu-item "Step Instruction" gud-stepi -- 2.39.5