From: Vinicius Jose Latorre Date: Wed, 12 Dec 2007 11:25:21 +0000 (+0000) Subject: revert-buffer docstring fix X-Git-Tag: emacs-pretest-23.0.90~8936 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0dff8975207307e73ba16f6306ab41016461dc57;p=emacs.git revert-buffer docstring fix --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 59b0854751b..fffb1e03f60 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2007-12-12 Yoni Rabkin Katzenell (tiny change) + + * files.el (revert-buffer): Docstring fix. + 2007-12-11 Glenn Morris * emacs-lisp/check-declare.el (check-declare-verify): Handle deffoo. diff --git a/lisp/files.el b/lisp/files.el index 8d5fcfda8c2..110dbef9289 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -4204,10 +4204,12 @@ This undoes all changes since the file was visited or saved. With a prefix argument, offer to revert from latest auto-save file, if that is more recent than the visited file. -This command also works for special buffers that contain text which -doesn't come from a file, but reflects some other data base instead: -for example, Dired buffers and `buffer-list' buffers. In these cases, -it reconstructs the buffer contents from the appropriate data base. +This command also implements an interface for special buffers +that contain text which doesn't come from a file, but reflects +some other data instead (e.g. Dired buffers, `buffer-list' +buffers). This is done via the variable +`revert-buffer-function'. In these cases, it should reconstruct +the buffer contents from the appropriate data. When called from Lisp, the first argument is IGNORE-AUTO; only offer to revert from the auto-save file when this is nil. Note that the