diff options
| author | Lars Ingebrigtsen | 2021-05-29 07:49:19 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2021-05-29 07:49:19 +0200 |
| commit | 2ee7e8a129ea0838ed2de5ae3531c3b21a8cb2c3 (patch) | |
| tree | 9ff9b38a0aa7921a9f2271b688763481f20dfabb | |
| parent | 22520811e2054df1d7a61691faa2c203bf3bbda0 (diff) | |
| download | emacs-2ee7e8a129ea0838ed2de5ae3531c3b21a8cb2c3.tar.gz emacs-2ee7e8a129ea0838ed2de5ae3531c3b21a8cb2c3.zip | |
Improve the dired-guess-shell-alist-user doc string
* lisp/dired-x.el (dired-guess-shell-alist-user): Document how
REGEXP is used (bug#17251).
| -rw-r--r-- | lisp/dired-x.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 56f7f4724ac..6619a391673 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -941,10 +941,15 @@ Each element of this list looks like | |||
| 941 | 941 | ||
| 942 | (REGEXP COMMAND...) | 942 | (REGEXP COMMAND...) |
| 943 | 943 | ||
| 944 | where each COMMAND can either be a string or a Lisp expression that evaluates | 944 | COMMAND will be used if REGEXP matches the file to be processed. |
| 945 | If several files are to be processed, REGEXP has to match all the | ||
| 946 | files. | ||
| 947 | |||
| 948 | Each COMMAND can either be a string or a Lisp expression that evaluates | ||
| 945 | to a string. If this expression needs to consult the name of the file for | 949 | to a string. If this expression needs to consult the name of the file for |
| 946 | which the shell commands are being requested, it can access that file name | 950 | which the shell commands are being requested, it can access that file name |
| 947 | as the variable `file'. | 951 | as the variable `file'. |
| 952 | |||
| 948 | If several COMMANDs are given, the first one will be the default | 953 | If several COMMANDs are given, the first one will be the default |
| 949 | and the rest will be added temporarily to the history and can be retrieved | 954 | and the rest will be added temporarily to the history and can be retrieved |
| 950 | with \\[previous-history-element] (M-p) . | 955 | with \\[previous-history-element] (M-p) . |