]> git.eshelyaron.com Git - emacs.git/commitdiff
dired-move-to-filename doc string fix
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 17:44:17 +0000 (19:44 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 17:44:24 +0000 (19:44 +0200)
* lisp/dired.el (dired-move-to-filename): Document the parameters
(bug#17566).

lisp/dired.el

index efe00d1ba40312b149efba3fc610803413150f7f..6e48d28b4cfb98065416601e085b4176f67f11e7 100644 (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)