diff options
| author | Reuben Thomas | 2017-06-28 22:40:33 +0100 |
|---|---|---|
| committer | Reuben Thomas | 2017-08-07 21:57:22 +0100 |
| commit | 85512e752191091d38cd5e34e7bed80eac1e9013 (patch) | |
| tree | c021cd02e533631e4bc7bad90472997e4622e76b /etc | |
| parent | 14ea76af5f3596d48747c2437006f6e1abcb67a7 (diff) | |
| download | emacs-85512e752191091d38cd5e34e7bed80eac1e9013.tar.gz emacs-85512e752191091d38cd5e34e7bed80eac1e9013.zip | |
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.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -206,6 +206,11 @@ the behavior of 'shell-command', 'shell-command-on-region' and | |||
| 206 | 'async-shell-command' is as usual. | 206 | 'async-shell-command' is as usual. |
| 207 | 207 | ||
| 208 | +++ | 208 | +++ |
| 209 | ** The new user option 'async-shell-command-display-buffer' controls | ||
| 210 | whether the output buffer of an asynchronous command is shown | ||
| 211 | immediately, or only when there is output. | ||
| 212 | |||
| 213 | +++ | ||
| 209 | ** The new user option 'mouse-select-region-move-to-beginning' | 214 | ** The new user option 'mouse-select-region-move-to-beginning' |
| 210 | controls the position of point when double-clicking mouse-1 on the end | 215 | controls the position of point when double-clicking mouse-1 on the end |
| 211 | of a parenthetical grouping or string-delimiter: the default value nil | 216 | of a parenthetical grouping or string-delimiter: the default value nil |