From: Nick Roberts Date: Fri, 2 Dec 2005 09:15:56 +0000 (+0000) Subject: (gud-menu-map): Put gud-finish back on the X-Git-Tag: emacs-pretest-22.0.90~5558 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d60d4cd6ef15e4162e4e0abdddb522b541d30010;p=emacs.git (gud-menu-map): Put gud-finish back on the tool bar (removed inadvertantly). --- 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