From: Xu Chunyang Date: Sun, 6 May 2018 19:46:04 +0000 (+0300) Subject: Fix gud-statement for pdb X-Git-Tag: emacs-26.1~42 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d732d699d63b5dbfa7d0a0f44e6119d58f852bc;p=emacs.git Fix gud-statement for pdb * lisp/progmodes/gud.el (pdb): Fix the gud-print implementation. (Bug#31363) --- diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 15b428bb68b..9cf818e99ea 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el @@ -1694,8 +1694,7 @@ and source-file directory for your debugger." (gud-def gud-up "up" "<" "Up one stack frame.") (gud-def gud-down "down" ">" "Down one stack frame.") (gud-def gud-print "p %e" "\C-p" "Evaluate Python expression at point.") - ;; Is this right? - (gud-def gud-statement "! %e" "\C-e" "Execute Python statement at point.") + (gud-def gud-statement "!%e" "\C-e" "Execute Python statement at point.") ;; (setq comint-prompt-regexp "^(.*pdb[+]?) *") (setq comint-prompt-regexp "^(Pdb) *")