|
From: | Reuben Thomas |
Subject: | bug#18133: Suppressing asynchronous command output |
Date: | Wed, 30 Jul 2014 10:48:33 +0100 |
(add-to-list 'display-buffer-alist '("\\*Async Shell Command\\*"
display-buffer-no-window (nil)))
(advice-add 'comint-output-filter :after
(lambda (process string)
(when (and (string-match-p "\\*Async Shell Command\\*"
(buffer-name (process-buffer process))))
(display-buffer (process-buffer process)))))
Thanks very much. The second form seems like the "right" one: when running a command asynchronously, output should be immediately visible.
[Prev in Thread] | Current Thread | [Next in Thread] |