From 8cff064c5e9b3fb7cdff4eea50d0d7dd31a3aa6f Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 7 Feb 2014 22:16:23 -0800 Subject: [PATCH] (dired-prev-marked-file): Doc fix (bug#14855). --- lisp/ChangeLog | 1 + lisp/dired.el | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce252d7bb38..86eadb3f1dd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,7 @@ 2014-02-08 Lars Ingebrigtsen * dired.el (dired-mode-map): Make :help text more accurate (bug#14893). + (dired-prev-marked-file): Doc fix (bug#14855). * minibuffer.el (read-file-name): Doc clarification (bug#15096). diff --git a/lisp/dired.el b/lisp/dired.el index d463d3f626d..742c9583941 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -3140,7 +3140,9 @@ argument or confirmation)." (save-excursion (not (dired-move-to-filename)))) (defun dired-next-marked-file (arg &optional wrap opoint) - "Move to the next marked file, wrapping around the end of the buffer." + "Move to the next marked file. +If WRAP is non-nil, wrap around to the beginning of the buffer if +we reach the end." (interactive "p\np") (or opoint (setq opoint (point)));; return to where interactively started (if (if (> arg 0) @@ -3157,7 +3159,9 @@ argument or confirmation)." (dired-next-marked-file arg nil opoint)))) (defun dired-prev-marked-file (arg &optional wrap) - "Move to the previous marked file, wrapping around the end of the buffer." + "Move to the previous marked file. +If WRAP is non-nil, wrap around to the end of the buffer if we +reach the beginning of the buffer." (interactive "p\np") (dired-next-marked-file (- arg) wrap)) -- 2.39.2