* dired.el (dired-revert): Doc fix (Bug#7758).

This commit is contained in:
Chong Yidong 2011-01-23 15:06:51 -05:00
parent d6dc7be935
commit b14f16adae
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-01-23 Chong Yidong <cyd@stupidchicken.com>
* dired.el (dired-revert): Doc fix (Bug#7758).
2011-01-23 Nobuyoshi Nakada <nobu@ruby-lang.org>
* progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for

View file

@ -1131,7 +1131,10 @@ If HDR is non-nil, insert a header line with the directory name."
"Reread the dired buffer.
Must also be called after `dired-actual-switches' have changed.
Should not fail even on completely garbaged buffers.
Preserves old cursor, marks/flags, hidden-p."
Preserves old cursor, marks/flags, hidden-p.
Dired sets `revert-buffer-function' to this function. The args
ARG and NOCONFIRM, passed from `revert-buffer', are ignored."
(widen) ; just in case user narrowed
(let ((modflag (buffer-modified-p))
(positions (dired-save-positions))