diff options
author | Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com> | 2023-05-13 20:31:24 -0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-05-14 09:24:16 +0300 |
commit | b96dc472bcba9a484d8151cec61752464f599ad2 (patch) | |
tree | cc3773397ab9bfcf097a0aba4f6ccd4b13a28c16 | |
parent | 1e6a7594361fa4d60c0d73450e45475593d93696 (diff) | |
download | emacs-b96dc472bcba9a484d8151cec61752464f599ad2.tar.gz |
Ignore current-prefix-arg in async-shell-command
* lisp/simple.el (async-shell-command): Ignore current-prefix-arg and
always pass nil to second argument of `shell-command'. (Bug#63432)
-rw-r--r-- | lisp/simple.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el index 959e28c7b75..c3d0726f91b 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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 " &"))) |