]> git.eshelyaron.com Git - emacs.git/commit
Allow async command output buffer to be shown only on output
authorReuben Thomas <rrt@sc3d.org>
Wed, 28 Jun 2017 21:40:33 +0000 (22:40 +0100)
committerReuben Thomas <rrt@sc3d.org>
Mon, 7 Aug 2017 20:57:22 +0000 (21:57 +0100)
commit85512e752191091d38cd5e34e7bed80eac1e9013
treec021cd02e533631e4bc7bad90472997e4622e76b
parent14ea76af5f3596d48747c2437006f6e1abcb67a7
Allow async command output buffer to be shown only on output

* lisp/simple.el (async-shell-command-display-buffer): Add
defcustom.
(shell-command): Use the new defcustom to determine whether to show
the buffer immediately, or add a process filter that shows it only
when there is some output.
* etc/NEWS: Document the new variable.
* doc/emacs/misc.texi: Likewise.

Thanks to Juri Linkov and Eli Zaretskii for advice and guidance.
doc/emacs/misc.texi
etc/NEWS
lisp/simple.el