# HG changeset patch # User Nick Roberts # Date 1177970751 0 # Node ID cb9aae08782f47f79d902b70ef3941b55869d33b # Parent 6e8b07f808fceed0705481147475a1535eec2f33 (gud-menu-map): Pdb can't handle SIGINT so don't put stop on toolbar. diff -r 6e8b07f808fc -r cb9aae08782f lisp/progmodes/gud.el --- 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