Fix `async-shell-command-display-buffer' display
* lisp/simple.el (shell-command): If `async-shell-command-display-buffer' was nil, it did not respect `display-buffer-alist' entries with `display-buffer-no-window'. This behavior has been fixed (bug#64394).
This commit is contained in:
parent
393958ea63
commit
cb674ab40c
1 changed files with 1 additions and 1 deletions
|
@ -4734,7 +4734,7 @@ impose the use of a shell (with its need to quote arguments)."
|
|||
(when (buffer-live-p buf)
|
||||
(remove-function (process-filter proc)
|
||||
nonce)
|
||||
(display-buffer buf))))
|
||||
(display-buffer buf '(nil (allow-no-window . t))))))
|
||||
`((name . ,nonce)))))))
|
||||
;; Otherwise, command is executed synchronously.
|
||||
(shell-command-on-region (point) (point) command
|
||||
|
|
Loading…
Add table
Reference in a new issue