[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master cb674ab40ce: Fix `async-shell-command-display-buffer' display
From: |
Juri Linkov |
Subject: |
master cb674ab40ce: Fix `async-shell-command-display-buffer' display |
Date: |
Tue, 4 Jul 2023 13:56:27 -0400 (EDT) |
branch: master
commit cb674ab40ce8bffe566c6851cf2ac5261152f004
Author: Eliza Velasquez <eliza@eliza.sh>
Commit: Juri Linkov <juri@linkov.net>
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).
---
lisp/simple.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index 321734a5026..7da2bf0fae2 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master cb674ab40ce: Fix `async-shell-command-display-buffer' display,
Juri Linkov <=