Fix gud-statement for pdb

* lisp/progmodes/gud.el (pdb): Fix the gud-print implementation.
(Bug#31363)
This commit is contained in:
Xu Chunyang 2018-05-06 22:46:04 +03:00 committed by Eli Zaretskii
parent 91a68b5f61
commit 1d732d699d

View file

@ -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) *")