(gud-menu-map): Put gud-finish back on the
authorNick Roberts <nickrob@snap.net.nz>
Fri, 2 Dec 2005 09:15:56 +0000 (09:15 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Fri, 2 Dec 2005 09:15:56 +0000 (09:15 +0000)
tool bar (removed inadvertantly).

lisp/progmodes/gud.el

index 81ae4c3..f6ef6f1 100644 (file)
@@ -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