Skip to content
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.

Commit

Permalink
Fix gud-statement for pdb
Browse files Browse the repository at this point in the history
* lisp/progmodes/gud.el (pdb): Fix the gud-print implementation.
(Bug#31363)
  • Loading branch information
xuchunyang authored and Eli-Zaretskii committed May 6, 2018
1 parent 91a68b5 commit 1d732d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/progmodes/gud.el
Original file line number Diff line number Diff line change
Expand Up @@ -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) *")
Expand Down

0 comments on commit 1d732d6

Please sign in to comment.