changeset 77624:cb9aae08782f

(gud-menu-map): Pdb can't handle SIGINT so don't put stop on toolbar.
author Nick Roberts <nickrob@snap.net.nz>
date Mon, 30 Apr 2007 22:05:51 +0000
parents 6e8b07f808fc
children 8e8447aa415f
files lisp/progmodes/gud.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/gud.el	Mon Apr 30 22:03:30 2007 +0000
+++ b/lisp/progmodes/gud.el	Mon Apr 30 22:05:51 2007 +0000
@@ -152,7 +152,7 @@
 		  :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