summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2001-03-19 14:58:07 +0000
committerDave Love <fx@gnu.org>2001-03-19 14:58:07 +0000
commit9daa0aa04d165920a0ab65affbda032638714335 (patch)
treeb889cb5225bf4843b93fba5afe4c92b5cc2a4cef /man
parentd70ba855bde44101cecd2a47027bc036ad2728c4 (diff)
downloademacs-9daa0aa04d165920a0ab65affbda032638714335.tar.gz
auto-revert-mode
Diffstat (limited to 'man')
-rw-r--r--man/files.texi17
1 files changed, 16 insertions, 1 deletions
diff --git a/man/files.texi b/man/files.texi
index 6bfeb0ae7d1..7473d4723db 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -532,7 +532,7 @@ be @file{eval.c~}.
You can change this behaviour by defining the variable
@code{make-backup-file-name-function} to a suitable function.
Alternatively you can customize the variable
-@var{backup-directory-alist} to specify that files matching certain
+@code{backup-directory-alist} to specify that files matching certain
patterns should be backed up in specific directories.
A typical use is to add an element @code{("." . @var{dir})} to make
@@ -862,6 +862,21 @@ revert it automatically if it has changed---provided the buffer itself
is not modified. (If you have edited the text, it would be wrong to
discard your changes.)
+@cindex Global Auto-Revert mode
+@cindex mode, Global Auto-Revert
+@cindex Auto-Revert mode
+@cindex mode, Auto-Revert
+@findex global-auto-revert-mode
+@findex auto-revert-mode
+@vindex auto-revert-interval
+You may find it useful to have Emacs revert files automatically when
+they change. Two minor modes are available to do this. In Global
+Auto-Revert mode, Emacs periodically checks all file buffers and
+reverts any when the corresponding file has changed. The local
+variant, Auto-Revert mode, applies only to buffers in which it was
+activated. Checking the files is done at intervals determined by the
+variable @code{auto-revert-interval}.
+
@node Auto Save
@section Auto-Saving: Protection Against Disasters
@cindex Auto Save mode