summaryrefslogtreecommitdiff
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-04-30 22:05:51 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-04-30 22:05:51 +0000
commita639115f6fe2a28c82afb5dae4ee6c60706711dd (patch)
tree64584b13db401df86e7d721c6bf32a47828c6215 /lisp/progmodes
parentebed00872ca9fee1fea6f8f85ada6588f09ad58b (diff)
downloademacs-a639115f6fe2a28c82afb5dae4ee6c60706711dd.tar.gz
(gud-menu-map): Pdb can't handle SIGINT so
don't put stop on toolbar.
Diffstat (limited to 'lisp/progmodes')
-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 3d252190eff..e557fdef843 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