dired-move-to-filename doc string fix

* lisp/dired.el (dired-move-to-filename): Document the parameters
(bug#17566).
This commit is contained in:
Lars Ingebrigtsen 2019-10-07 19:44:17 +02:00
parent bb59647420
commit 7b3932f244

View file

@ -2582,7 +2582,13 @@ See options: `dired-hide-details-hide-symlink-targets' and
;; Returns position (point) or nil if no filename on this line."
(defun dired-move-to-filename (&optional raise-error eol)
"Move to the beginning of the filename on the current line.
Return the position of the beginning of the filename, or nil if none found."
Return the position of the beginning of the filename, or nil if none found.
If RAISE-ERROR, signal an error if we can't find the filename on
the current line.
If EOL, it should be an position to use instead of
`line-end-position' as the end of the line."
;; This is the UNIX version.
(or eol (setq eol (line-end-position)))
(beginning-of-line)