aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-07 19:44:17 +0200
committerLars Ingebrigtsen2019-10-07 19:44:24 +0200
commit7b3932f2440df61acd20743f230b05ffc4f8d2d8 (patch)
tree737884a54fa5e784f6d868a69df88c75849e9c74
parentbb596474207632ac5cfd139baad000c5470f6dae (diff)
downloademacs-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.el8
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.
2585Return the position of the beginning of the filename, or nil if none found." 2585Return the position of the beginning of the filename, or nil if none found.
2586
2587If RAISE-ERROR, signal an error if we can't find the filename on
2588the current line.
2589
2590If 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)