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)
This commit is contained in:
parent
1e6a759436
commit
b96dc472bc
1 changed files with 1 additions and 1 deletions
|
@ -4490,7 +4490,7 @@ a shell (with its need to quote arguments)."
|
||||||
((eq major-mode 'dired-mode)
|
((eq major-mode 'dired-mode)
|
||||||
(dired-get-filename nil t)))))
|
(dired-get-filename nil t)))))
|
||||||
(and filename (file-relative-name filename))))
|
(and filename (file-relative-name filename))))
|
||||||
current-prefix-arg
|
nil
|
||||||
shell-command-default-error-buffer))
|
shell-command-default-error-buffer))
|
||||||
(unless (string-match "&[ \t]*\\'" command)
|
(unless (string-match "&[ \t]*\\'" command)
|
||||||
(setq command (concat command " &")))
|
(setq command (concat command " &")))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue