changeset 36874:c4072454eee4

auto-revert-mode
author Dave Love <fx@gnu.org>
date Mon, 19 Mar 2001 14:58:07 +0000
parents 705d5129bb72
children 6a6141e694a5
files man/files.texi
diffstat 1 files changed, 16 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/man/files.texi	Mon Mar 19 14:54:02 2001 +0000
+++ b/man/files.texi	Mon Mar 19 14:58:07 2001 +0000
@@ -532,7 +532,7 @@
   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 @@
 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