From: Nick Roberts Date: Mon, 30 Apr 2007 22:05:51 +0000 (+0000) Subject: (gud-menu-map): Pdb can't handle SIGINT so X-Git-Tag: emacs-pretest-22.0.990~103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e795222265b942e2cc84a673d6cd50a2891ebe2b;p=emacs.git (gud-menu-map): Pdb can't handle SIGINT so don't put stop on toolbar. --- 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