From 0dff8975207307e73ba16f6306ab41016461dc57 Mon Sep 17 00:00:00 2001 From: Vinicius Jose Latorre Date: Wed, 12 Dec 2007 11:25:21 +0000 Subject: [PATCH] revert-buffer docstring fix --- lisp/ChangeLog | 4 ++++ lisp/files.el | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 59b0854751..fffb1e03f6 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 8d5fcfda8c..110dbef928 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 -- 2.39.2