emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 1d732d6: Fix gud-statement for pdb


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 1d732d6: Fix gud-statement for pdb
Date: Sun, 6 May 2018 15:47:04 -0400 (EDT)

branch: emacs-26
commit 1d732d699d63b5dbfa7d0a0f44e6119d58f852bc
Author: Xu Chunyang <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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 15b428b..9cf818e 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) *")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]