diff options
| author | Chong Yidong | 2008-10-22 20:37:22 +0000 |
|---|---|---|
| committer | Chong Yidong | 2008-10-22 20:37:22 +0000 |
| commit | 7ada496cbc54dfc93a346d3f8e70933565904d5c (patch) | |
| tree | d9af2ba62b8c12a50880b437dbed0c55505bcbb2 | |
| parent | 1442fd94693b3988e77ddf21fd97570fd953822b (diff) | |
| download | emacs-7ada496cbc54dfc93a346d3f8e70933565904d5c.tar.gz emacs-7ada496cbc54dfc93a346d3f8e70933565904d5c.zip | |
(dired-get-marked-files, dired-map-over-marks): Doc fixes.
| -rw-r--r-- | lisp/dired.el | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 0f6039fc16c..4fddb5d5600 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -489,11 +489,12 @@ Return value is the number of files marked, or nil if none were marked." | |||
| 489 | distinguish-one-marked) | 489 | distinguish-one-marked) |
| 490 | "Eval BODY with point on each marked line. Return a list of BODY's results. | 490 | "Eval BODY with point on each marked line. Return a list of BODY's results. |
| 491 | If no marked file could be found, execute BODY on the current line. | 491 | If no marked file could be found, execute BODY on the current line. |
| 492 | If ARG is an integer, use the next ARG (or previous -ARG, if ARG<0) | 492 | ARG, if non-nil, specifies the files to use instead of the marked files. |
| 493 | files instead of the marked files. | 493 | If ARG is an integer, use the next ARG (or previous -ARG, if |
| 494 | In that case point is dragged along. This is so that commands on | 494 | ARG<0) files. In that case, point is dragged along. This is |
| 495 | the next ARG (instead of the marked) files can be chained easily. | 495 | so that commands on the next ARG (instead of the marked) files |
| 496 | If ARG is otherwise non-nil, use current file instead. | 496 | can be chained easily. |
| 497 | For any other non-nil value of ARG, use the current file. | ||
| 497 | If optional third arg SHOW-PROGRESS evaluates to non-nil, | 498 | If optional third arg SHOW-PROGRESS evaluates to non-nil, |
| 498 | redisplay the dired buffer after each file is processed. | 499 | redisplay the dired buffer after each file is processed. |
| 499 | No guarantee is made about the position on the marked line. | 500 | No guarantee is made about the position on the marked line. |
| @@ -558,10 +559,11 @@ The list is in the same order as the buffer, that is, the car is the | |||
| 558 | first marked file. | 559 | first marked file. |
| 559 | Values returned are normally absolute file names. | 560 | Values returned are normally absolute file names. |
| 560 | Optional arg LOCALP as in `dired-get-filename'. | 561 | Optional arg LOCALP as in `dired-get-filename'. |
| 561 | Optional second argument ARG specifies files near point | 562 | Optional second argument ARG, if non-nil, specifies files near |
| 562 | instead of marked files. If ARG is an integer, use the next ARG files. | 563 | point instead of marked files. It usually comes from the prefix |
| 563 | If ARG is otherwise non-nil, use file. Usually ARG comes from | 564 | argument. |
| 564 | the command's prefix arg. | 565 | If ARG is an integer, use the next ARG files. |
| 566 | Any other non-nil value means to use the current file instead. | ||
| 565 | Optional third argument FILTER, if non-nil, is a function to select | 567 | Optional third argument FILTER, if non-nil, is a function to select |
| 566 | some of the files--those for which (funcall FILTER FILENAME) is non-nil. | 568 | some of the files--those for which (funcall FILTER FILENAME) is non-nil. |
| 567 | 569 | ||