# HG changeset patch # User Vinicius Jose Latorre # Date 1197458721 0 # Node ID 3cad137a4fe88b051d086b706533be58f0226512 # Parent a645d5383848f3722030d52126a9ee560268610e revert-buffer docstring fix diff -r a645d5383848 -r 3cad137a4fe8 lisp/ChangeLog --- a/lisp/ChangeLog Wed Dec 12 07:37:57 2007 +0000 +++ b/lisp/ChangeLog Wed Dec 12 11:25:21 2007 +0000 @@ -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 -r a645d5383848 -r 3cad137a4fe8 lisp/files.el --- a/lisp/files.el Wed Dec 12 07:37:57 2007 +0000 +++ b/lisp/files.el Wed Dec 12 11:25:21 2007 +0000 @@ -4204,10 +4204,12 @@ 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