summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXu Chunyang <mail@xuchunyang.me>2018-05-06 22:46:04 +0300
committerEli Zaretskii <eliz@gnu.org>2018-05-06 22:46:04 +0300
commit1d732d699d63b5dbfa7d0a0f44e6119d58f852bc (patch)
tree5ad4711639ca87e07cb05f14bc5b668ac41b7cb7
parent91a68b5f61db50344c6a5df497f55370d54a7b15 (diff)
downloademacs-1d732d699d63b5dbfa7d0a0f44e6119d58f852bc.tar.gz
Fix gud-statement for pdb
* lisp/progmodes/gud.el (pdb): Fix the gud-print implementation. (Bug#31363)
-rw-r--r--lisp/progmodes/gud.el3
1 files changed, 1 insertions, 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) *")