Mercurial > emacs
changeset 80806:f6ca990ca9cf
(gud-menu-map): Pdb can't handle SIGINT so
don't put stop button on toolbar.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sat, 28 Apr 2007 08:57:20 +0000 |
parents | f28b0bff92bf |
children | b08b48a824ad |
files | lisp/progmodes/gud.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/gud.el Sat Apr 28 08:56:26 2007 +0000 +++ b/lisp/progmodes/gud.el Sat Apr 28 08:57:20 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