diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2011-01-23 15:06:51 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2011-01-23 15:06:51 -0500 |
commit | b14f16adaeccdf8a1ef48727b0507bb0f192cc85 (patch) | |
tree | 8cd42a15443893c12f58239b228ece2695f76dce | |
parent | d6dc7be93592004ab357971a6b4db026a9c64eef (diff) | |
download | emacs-b14f16adaeccdf8a1ef48727b0507bb0f192cc85.tar.gz |
* dired.el (dired-revert): Doc fix (Bug#7758).
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/dired.el | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7dbc5267ba2..4a8efcde0f5 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)) |