diff options
| author | Michael Albinus | 2016-12-11 10:50:17 +0100 |
|---|---|---|
| committer | Michael Albinus | 2016-12-11 10:50:17 +0100 |
| commit | 467768f64ee109fe127619e75fee7f3b5de1fec1 (patch) | |
| tree | 92cb4e0d0d2c310419620b4f2d567b1db33e2694 /doc | |
| parent | 6db78ae97e602f7ec06045df7e0388e4c14d0b1d (diff) | |
| download | emacs-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.texi | 8 |
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 |
| 941 | for a specific buffer, enable the minor mode Auto-Revert mode by | 943 | for a specific buffer, enable the minor mode Auto-Revert mode by |
| 942 | typing @kbd{M-x auto-revert-mode}. This automatically reverts the | 944 | typing @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 | |||
| 944 | the variable @code{auto-revert-interval}. To do the same for all file | 946 | the variable @code{auto-revert-interval}. To do the same for all file |
| 945 | buffers, type @kbd{M-x global-auto-revert-mode} to enable Global | 947 | buffers, type @kbd{M-x global-auto-revert-mode} to enable Global |
| 946 | Auto-Revert mode. These minor modes do not check or revert remote | 948 | Auto-Revert mode. These minor modes do not check or revert remote |
| 947 | files, because that is usually too slow. | 949 | files, because that is usually too slow. This behavior can be changed |
| 950 | by 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 |
| 950 | log, so that changes made to that file by other programs are | 953 | log, 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. |
| 956 | Auto-Revert Tail mode works also for remote files. | 959 | Auto-Revert Tail mode works also for remote files. |
| 957 | 960 | ||
| 961 | When a buffer is auto-reverted, a message is generated. This can be | ||
| 962 | suppressed 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 |
| 959 | under version control. @xref{VC Mode Line}, for Auto Revert | 965 | under version control. @xref{VC Mode Line}, for Auto Revert |
| 960 | peculiarities when visiting files under version control. | 966 | peculiarities when visiting files under version control. |