diff options
| author | Lars Ingebrigtsen | 2019-10-07 19:44:17 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-10-07 19:44:24 +0200 |
| commit | 7b3932f2440df61acd20743f230b05ffc4f8d2d8 (patch) | |
| tree | 737884a54fa5e784f6d868a69df88c75849e9c74 | |
| parent | bb596474207632ac5cfd139baad000c5470f6dae (diff) | |
| download | emacs-7b3932f2440df61acd20743f230b05ffc4f8d2d8.tar.gz emacs-7b3932f2440df61acd20743f230b05ffc4f8d2d8.zip | |
dired-move-to-filename doc string fix
* lisp/dired.el (dired-move-to-filename): Document the parameters
(bug#17566).
| -rw-r--r-- | lisp/dired.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index efe00d1ba40..6e48d28b4cf 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -2582,7 +2582,13 @@ See options: `dired-hide-details-hide-symlink-targets' and | |||
| 2582 | ;; Returns position (point) or nil if no filename on this line." | 2582 | ;; Returns position (point) or nil if no filename on this line." |
| 2583 | (defun dired-move-to-filename (&optional raise-error eol) | 2583 | (defun dired-move-to-filename (&optional raise-error eol) |
| 2584 | "Move to the beginning of the filename on the current line. | 2584 | "Move to the beginning of the filename on the current line. |
| 2585 | Return the position of the beginning of the filename, or nil if none found." | 2585 | Return the position of the beginning of the filename, or nil if none found. |
| 2586 | |||
| 2587 | If RAISE-ERROR, signal an error if we can't find the filename on | ||
| 2588 | the current line. | ||
| 2589 | |||
| 2590 | If EOL, it should be an position to use instead of | ||
| 2591 | `line-end-position' as the end of the line." | ||
| 2586 | ;; This is the UNIX version. | 2592 | ;; This is the UNIX version. |
| 2587 | (or eol (setq eol (line-end-position))) | 2593 | (or eol (setq eol (line-end-position))) |
| 2588 | (beginning-of-line) | 2594 | (beginning-of-line) |