* dired.el (dired-revert): Doc fix (Bug#7758).
authorChong Yidong <cyd@stupidchicken.com>
Sun, 23 Jan 2011 20:06:51 +0000 (15:06 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 23 Jan 2011 20:06:51 +0000 (15:06 -0500)
lisp/ChangeLog
lisp/dired.el

index 7dbc526..4a8efcd 100644 (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
index 306bd8f..4fba72d 100644 (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))