changeset 67251:299942030b0e

(gud-menu-map): Put gud-finish back on the tool bar (removed inadvertantly).
author Nick Roberts <nickrob@snap.net.nz>
date Fri, 02 Dec 2005 09:15:56 +0000
parents b08f33ef5fa1
children 04d2abb755d9
files lisp/progmodes/gud.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Fri Dec 02 09:14:18 2005 +0000
+++ b/lisp/progmodes/gud.el	Fri Dec 02 09:15:56 2005 +0000
@@ -189,6 +189,9 @@
                   :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