1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-23 08:20:41 -08:00

(dired-prev-marked-file): Doc fix (bug#14855).

This commit is contained in:
Lars Ingebrigtsen 2014-02-07 22:16:23 -08:00
parent be58a238be
commit 8cff064c5e
2 changed files with 7 additions and 2 deletions

View file

@ -1,6 +1,7 @@
2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
* 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).

View file

@ -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))