]> code.delx.au - gnu-emacs/commitdiff
(gud-menu-map): Pdb can't handle SIGINT so
authorNick Roberts <nickrob@snap.net.nz>
Mon, 30 Apr 2007 22:05:51 +0000 (22:05 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 30 Apr 2007 22:05:51 +0000 (22:05 +0000)
don't put stop on toolbar.

lisp/progmodes/gud.el

index 3d252190eff32ea7927b4005b33e6c92bc43eda0..e557fdef8430b43e6a6916ea2c20ecd478f0fba5 100644 (file)
@@ -152,7 +152,7 @@ Used to grey out relevant toolbar icons.")
                  :visible (and (not gud-running)
                                (eq gud-minor-mode 'gdba)))
     ([stop]    menu-item "Stop" gud-stop-subjob
-                 :visible (or (not (eq gud-minor-mode 'gdba))
+                 :visible (or (not (memq gud-minor-mode '(gdba pdb)))
                               (and gud-running
                                    (eq gud-minor-mode 'gdba))))
     ([until]   menu-item "Continue to selection" gud-until