emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 afdf54a5313: * lisp/progmodes/gdb-mi.el: Fix interactive invoca


From: Eli Zaretskii
Subject: emacs-29 afdf54a5313: * lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'.
Date: Sat, 15 Jul 2023 04:40:18 -0400 (EDT)

branch: emacs-29
commit afdf54a5313ec898b6045e48eb6dce7d4abfa565
Author: Wang Diancheng <dianchengwang@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    * lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'.
    
    Bug#64590.
    
    Copyright-paperwork-exempt: yes
---
 lisp/progmodes/gdb-mi.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 4ad73823b64..d4e17554d94 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -988,7 +988,7 @@ detailed description of this mode.
           "\C-u" "Continue to current line or address.")
   (gud-def
    gud-go (progn
-            (when arg
+            (when (and current-prefix-arg arg)
               (gud-call (concat "-exec-arguments "
                                 (read-string "Arguments to exec-run: "))))
             (gud-call



reply via email to

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