From: Lars Ingebrigtsen Date: Sat, 8 Feb 2014 06:16:23 +0000 (-0800) Subject: (dired-prev-marked-file): Doc fix (bug#14855). X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~103 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cff064c5e9b3fb7cdff4eea50d0d7dd31a3aa6f;p=emacs.git (dired-prev-marked-file): Doc fix (bug#14855). --- 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))