aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/misc.texi10
-rw-r--r--etc/NEWS3
3 files changed, 15 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 9390daef38d..4591cfb99fe 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12012-11-12 Glenn Morris <rgm@gnu.org>
2
3 * misc.texi (Single Shell): Mention async-shell-command-buffer.
4
12012-11-10 Glenn Morris <rgm@gnu.org> 52012-11-10 Glenn Morris <rgm@gnu.org>
2 6
3 * misc.texi (Terminal emulator): Rename `term-face' to `term'. 7 * misc.texi (Terminal emulator): Rename `term-face' to `term'.
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi
index 244920a23ae..1836c1982e6 100644
--- a/doc/emacs/misc.texi
+++ b/doc/emacs/misc.texi
@@ -542,11 +542,19 @@ which is impossible to ignore.
542You can also type @kbd{M-&} (@code{async-shell-command}) to execute a 542You can also type @kbd{M-&} (@code{async-shell-command}) to execute a
543shell command asynchronously; this is exactly like calling @kbd{M-!} 543shell command asynchronously; this is exactly like calling @kbd{M-!}
544with a trailing @samp{&}, except that you do not need the @samp{&}. 544with a trailing @samp{&}, except that you do not need the @samp{&}.
545The output buffer for asynchronous shell commands is named 545The default output buffer for asynchronous shell commands is named
546@samp{*Async Shell Command*}. Emacs inserts the output into this 546@samp{*Async Shell Command*}. Emacs inserts the output into this
547buffer as it comes in, whether or not the buffer is visible in a 547buffer as it comes in, whether or not the buffer is visible in a
548window. 548window.
549 549
550@vindex async-shell-command-buffer
551 If you want to run more than one asynchronous shell command at the
552same time, they could end up competing for the output buffer. The
553option @code{async-shell-command-buffer} specifies what to do about
554this; e.g., whether to rename the pre-existing output buffer, or to
555use a different buffer for the new command. Consult the variable's
556documentation for more possibilities.
557
550@kindex M-| 558@kindex M-|
551@findex shell-command-on-region 559@findex shell-command-on-region
552 @kbd{M-|} (@code{shell-command-on-region}) is like @kbd{M-!}, but 560 @kbd{M-|} (@code{shell-command-on-region}) is like @kbd{M-!}, but
diff --git a/etc/NEWS b/etc/NEWS
index 16feea02eaf..d57e96eb566 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -561,8 +561,9 @@ Sphinx support has been improved.
561 561
562*** `sh-use-smie' lets you choose a new indentation and navigation code. 562*** `sh-use-smie' lets you choose a new indentation and navigation code.
563 563
564+++
564** New option `async-shell-command-buffer' specifies the buffer to use 565** New option `async-shell-command-buffer' specifies the buffer to use
565for a new asynchronous shell command when the default output buffer 566for a new asynchronous `shell-command' when the default output buffer
566`*Async Shell Command*' is already in use. 567`*Async Shell Command*' is already in use.
567 568
568--- 569---