]> git.eshelyaron.com Git - emacs.git/commitdiff
Ignore current-prefix-arg in async-shell-command
authorGabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Sat, 13 May 2023 23:31:24 +0000 (20:31 -0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 14 May 2023 06:24:16 +0000 (09:24 +0300)
* lisp/simple.el (async-shell-command): Ignore current-prefix-arg and
always pass nil to second argument of `shell-command'.  (Bug#63432)

lisp/simple.el

index 959e28c7b75a4eeab59f9d57b899d736be97ae18..c3d0726f91b5941d4fbff97a84278056ca1f6c3e 100644 (file)
@@ -4490,7 +4490,7 @@ a shell (with its need to quote arguments)."
                                ((eq major-mode 'dired-mode)
                                 (dired-get-filename nil t)))))
                          (and filename (file-relative-name filename))))
-    current-prefix-arg
+    nil
     shell-command-default-error-buffer))
   (unless (string-match "&[ \t]*\\'" command)
     (setq command (concat command " &")))