diff options
Diffstat (limited to 'doc/misc/dired-x.texi')
-rw-r--r-- | doc/misc/dired-x.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/misc/dired-x.texi b/doc/misc/dired-x.texi index 1ff2b73512a..36a9cb0291a 100644 --- a/doc/misc/dired-x.texi +++ b/doc/misc/dired-x.texi @@ -521,7 +521,9 @@ where each @var{command} can either be a string or a Lisp expression that evaluates to a string. If several commands are given, all of them will temporarily be pushed onto the history. -A @samp{*} in the shell command is replaced by the file name. +A @samp{*} in the shell command stands for the file name that matched +@var{regexp}. When Emacs invokes the @var{command}, it replaces each +instance of @samp{*} with the matched file name. You can set this variable in your @file{~/.emacs}. For example, to add rules for @samp{.foo} and @samp{.bar} file extensions, write |