aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/gud.el
diff options
context:
space:
mode:
authorNick Roberts <[email protected]>2007-04-30 22:05:51 +0000
committerNick Roberts <[email protected]>2007-04-30 22:05:51 +0000
commite795222265b942e2cc84a673d6cd50a2891ebe2b (patch)
treead01e5751beb5048d98fd9ee9052deb6a7b36ae4 /lisp/progmodes/gud.el
parent4f1cc23d2e17f0e89fdec1f743b231f42a3d1ff2 (diff)
(gud-menu-map): Pdb can't handle SIGINT so
don't put stop on toolbar.
Diffstat (limited to 'lisp/progmodes/gud.el')
-rw-r--r--lisp/progmodes/gud.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index 3d252190ef..e557fdef84 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -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