diff options
author | Vinicius Jose Latorre <viniciusjl@ig.com.br> | 2007-12-12 11:25:21 +0000 |
---|---|---|
committer | Vinicius Jose Latorre <viniciusjl@ig.com.br> | 2007-12-12 11:25:21 +0000 |
commit | 0dff8975207307e73ba16f6306ab41016461dc57 (patch) | |
tree | 007ff29850088719012302bb1cb95f245ae7b63e /lisp/files.el | |
parent | 045744c697ed42220ad34e9219604f3474e40dc3 (diff) | |
download | emacs-0dff8975207307e73ba16f6306ab41016461dc57.tar.gz emacs-0dff8975207307e73ba16f6306ab41016461dc57.tar.bz2 emacs-0dff8975207307e73ba16f6306ab41016461dc57.zip |
revert-buffer docstring fix
Diffstat (limited to 'lisp/files.el')
-rw-r--r-- | lisp/files.el | 10 |
1 files changed, 6 insertions, 4 deletions
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 |