From 1d732d699d63b5dbfa7d0a0f44e6119d58f852bc Mon Sep 17 00:00:00 2001 From: Xu Chunyang Date: Sun, 6 May 2018 22:46:04 +0300 Subject: [PATCH] Fix gud-statement for pdb * lisp/progmodes/gud.el (pdb): Fix the gud-print implementation. (Bug#31363) --- lisp/progmodes/gud.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) *") -- 2.11.4.GIT