]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/gdb-mi.el: Fix interactive invocation of 'gud-go'.
authorWang Diancheng <dianchengwang@gmail.com>
Fri, 14 Jul 2023 03:06:32 +0000 (11:06 +0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Jul 2023 08:38:36 +0000 (11:38 +0300)
Bug#64590.

Copyright-paperwork-exempt: yes

lisp/progmodes/gdb-mi.el

index 4ad73823b64d70076c885e878a96c460183bab3b..d4e17554d94a0d504aed2d934bd354d809ceed35 100644 (file)
@@ -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