diff options
| author | Chong Yidong | 2012-10-30 07:48:02 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-10-30 07:48:02 +0800 |
| commit | fc83c2de544c15ce8e4e8fc7c6dd68cc4956a457 (patch) | |
| tree | dd6d7f0c1b071a650c29b1cc6cb6106e2fd98df9 | |
| parent | b5dd9a779bafdbac1658b7e610ec04c195a7f21c (diff) | |
| download | emacs-fc83c2de544c15ce8e4e8fc7c6dd68cc4956a457.tar.gz emacs-fc83c2de544c15ce8e4e8fc7c6dd68cc4956a457.zip | |
Document dired-do-async-shell-command changes.
* dired.texi (Shell Commands in Dired): Document changes to the
dired-do-async-shell-command.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/dired.texi | 11 | ||||
| -rw-r--r-- | etc/NEWS | 2 |
3 files changed, 14 insertions, 4 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index ef6d736db1d..ea5621e7ccf 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-10-29 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * dired.texi (Shell Commands in Dired): Document changes to the | ||
| 4 | dired-do-async-shell-command. | ||
| 5 | |||
| 1 | 2012-10-28 Glenn Morris <rgm@gnu.org> | 6 | 2012-10-28 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * ack.texi (Acknowledgments): Mention gv.el. | 8 | * ack.texi (Acknowledgments): Mention gv.el. |
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index 8babbcb89ea..c08dc02b04b 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -799,15 +799,20 @@ more matches. @xref{Tags Search}. | |||
| 799 | @kindex ! @r{(Dired)} | 799 | @kindex ! @r{(Dired)} |
| 800 | @kindex X @r{(Dired)} | 800 | @kindex X @r{(Dired)} |
| 801 | The Dired command @kbd{!} (@code{dired-do-shell-command}) reads a | 801 | The Dired command @kbd{!} (@code{dired-do-shell-command}) reads a |
| 802 | shell command string in the minibuffer and runs that shell command on | 802 | shell command string in the minibuffer, and runs that shell command on |
| 803 | one or more files. The files that the shell command operates on are | 803 | one or more files. The files that the shell command operates on are |
| 804 | determined in the usual way for Dired commands (@pxref{Operating on | 804 | determined in the usual way for Dired commands (@pxref{Operating on |
| 805 | Files}). The command @kbd{X} is a synonym for @kbd{!}. | 805 | Files}). The command @kbd{X} is a synonym for @kbd{!}. |
| 806 | 806 | ||
| 807 | The command @kbd{&} (@code{dired-do-async-shell-command}) does the | 807 | The command @kbd{&} (@code{dired-do-async-shell-command}) does the |
| 808 | same, except that it runs the shell command asynchronously. You can | 808 | same, except that it runs the shell command asynchronously. (You can |
| 809 | also do this with @kbd{!}, by appending a @samp{&} character to the | 809 | also do this with @kbd{!}, by appending a @samp{&} character to the |
| 810 | end of the shell command. | 810 | end of the shell command.) When the command operates on more than one |
| 811 | file, it runs multiple parallel copies of the specified shell command, | ||
| 812 | one for each file. As an exception, if the specified shell command | ||
| 813 | ends in @samp{;} or @samp{;&}, the shell command is run in the | ||
| 814 | background on each file sequentially; Emacs waits for each invoked | ||
| 815 | shell command to terminate before running the next one. | ||
| 811 | 816 | ||
| 812 | For both @kbd{!} and @kbd{&}, the working directory for the shell | 817 | For both @kbd{!} and @kbd{&}, the working directory for the shell |
| 813 | command is the top-level directory of the Dired buffer. | 818 | command is the top-level directory of the Dired buffer. |
| @@ -397,7 +397,7 @@ changes in context diffs. | |||
| 397 | whitespace problems introduced by the diff. | 397 | whitespace problems introduced by the diff. |
| 398 | 398 | ||
| 399 | ** Dired | 399 | ** Dired |
| 400 | 400 | +++ | |
| 401 | *** `dired-do-async-shell-command' executes each file sequentially | 401 | *** `dired-do-async-shell-command' executes each file sequentially |
| 402 | if the command ends in `;' (when operating on multiple files). | 402 | if the command ends in `;' (when operating on multiple files). |
| 403 | Otherwise, it executes the command on each file in parallel. | 403 | Otherwise, it executes the command on each file in parallel. |