aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2016-12-11 10:50:17 +0100
committerMichael Albinus2016-12-11 10:50:17 +0100
commit467768f64ee109fe127619e75fee7f3b5de1fec1 (patch)
tree92cb4e0d0d2c310419620b4f2d567b1db33e2694 /doc
parent6db78ae97e602f7ec06045df7e0388e4c14d0b1d (diff)
downloademacs-467768f64ee109fe127619e75fee7f3b5de1fec1.tar.gz
emacs-467768f64ee109fe127619e75fee7f3b5de1fec1.zip
Fix Bug#25162
* doc/emacs/files.texi (Reverting): Document auto-revert-remote-files and auto-revert-verbose. * lisp/autorevert.el (auto-revert-verbose, auto-revert-mode) (auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index fc46ef7879a..264154be66f 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -937,6 +937,8 @@ discard your changes.)
937@findex auto-revert-mode 937@findex auto-revert-mode
938@findex auto-revert-tail-mode 938@findex auto-revert-tail-mode
939@vindex auto-revert-interval 939@vindex auto-revert-interval
940@vindex auto-revert-remote-files
941@vindex auto-revert-verbose
940 You can also tell Emacs to revert buffers periodically. To do this 942 You can also tell Emacs to revert buffers periodically. To do this
941for a specific buffer, enable the minor mode Auto-Revert mode by 943for a specific buffer, enable the minor mode Auto-Revert mode by
942typing @kbd{M-x auto-revert-mode}. This automatically reverts the 944typing @kbd{M-x auto-revert-mode}. This automatically reverts the
@@ -944,7 +946,8 @@ current buffer every five seconds; you can change the interval through
944the variable @code{auto-revert-interval}. To do the same for all file 946the variable @code{auto-revert-interval}. To do the same for all file
945buffers, type @kbd{M-x global-auto-revert-mode} to enable Global 947buffers, type @kbd{M-x global-auto-revert-mode} to enable Global
946Auto-Revert mode. These minor modes do not check or revert remote 948Auto-Revert mode. These minor modes do not check or revert remote
947files, because that is usually too slow. 949files, because that is usually too slow. This behavior can be changed
950by setting the variable @code{auto-revert-remote-files} to non-@code{nil}.
948 951
949 One use of Auto-Revert mode is to ``tail'' a file such as a system 952 One use of Auto-Revert mode is to ``tail'' a file such as a system
950log, so that changes made to that file by other programs are 953log, so that changes made to that file by other programs are
@@ -955,6 +958,9 @@ the end, use Auto-Revert Tail mode instead
955(@code{auto-revert-tail-mode}). It is more efficient for this. 958(@code{auto-revert-tail-mode}). It is more efficient for this.
956Auto-Revert Tail mode works also for remote files. 959Auto-Revert Tail mode works also for remote files.
957 960
961 When a buffer is auto-reverted, a message is generated. This can be
962suppressed by setting @code{auto-revert-verbose} to @code{nil}.
963
958 @xref{VC Undo}, for commands to revert to earlier versions of files 964 @xref{VC Undo}, for commands to revert to earlier versions of files
959under version control. @xref{VC Mode Line}, for Auto Revert 965under version control. @xref{VC Mode Line}, for Auto Revert
960peculiarities when visiting files under version control. 966peculiarities when visiting files under version control.