Mercurial > emacs
changeset 87272:3cad137a4fe8
revert-buffer docstring fix
author | Vinicius Jose Latorre <viniciusjl@ig.com.br> |
---|---|
date | Wed, 12 Dec 2007 11:25:21 +0000 |
parents | a645d5383848 |
children | 2946f697b705 |
files | lisp/ChangeLog lisp/files.el |
diffstat | 2 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 <yoni-r@actcom.com> (tiny change) + + * files.el (revert-buffer): Docstring fix. + 2007-12-11 Glenn Morris <rgm@gnu.org> * emacs-lisp/check-declare.el (check-declare-verify): Handle deffoo.
--- 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