summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-01-23 15:06:51 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-01-23 15:06:51 -0500
commit85ffe68b23106ac1443dd0b2d75c971bbb167c64 (patch)
treef6a63f3a8e1a052af6b2a0333db9b4c790c6aa20
parent2ff4b2ec9d18d1f5c91fb002d90e1916342da47e (diff)
downloademacs-85ffe68b23106ac1443dd0b2d75c971bbb167c64.tar.gz
* dired.el (dired-revert): Doc fix (Bug#7758).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/dired.el5
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d6329b99a09..2903026388f 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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
diff --git a/lisp/dired.el b/lisp/dired.el
index 306bd8f779a..4fba72d8106 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -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))