diff options
| author | Michael Albinus | 2025-08-08 13:26:16 +0200 |
|---|---|---|
| committer | Michael Albinus | 2025-08-08 13:26:16 +0200 |
| commit | be4be3eb094ffbbf5e36666acc03ada46903274c (patch) | |
| tree | 451de3091ec2044147ac5b5dc2c5884bec582141 /doc | |
| parent | 560aee2fb2403a6c7205798e05725abda2bc5cbc (diff) | |
| download | emacs-be4be3eb094ffbbf5e36666acc03ada46903274c.tar.gz emacs-be4be3eb094ffbbf5e36666acc03ada46903274c.zip | |
Add auto-revert-buffer-in-progress-p
* doc/lispref/backups.texi (Reverting):
Add auto-revert-buffer-in-progress-p.
* etc/NEWS: Mention auto-revert-buffer-in-progress-p.
* lisp/autorevert.el (auto-revert-buffer-in-progress-p):
New autoloaded variable.
(auto-revert-buffer): Let-bind it. (Bug#79145)
* lisp/dired-x.el (dired-omit-expunge): Suppress messages when in
auto-revert.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/backups.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/backups.texi b/doc/lispref/backups.texi index f3f0902f364..a1df26230aa 100644 --- a/doc/lispref/backups.texi +++ b/doc/lispref/backups.texi | |||
| @@ -852,6 +852,13 @@ It is important to assure that point does not continuously jump around | |||
| 852 | as a consequence of auto-reverting. Of course, moving point might be | 852 | as a consequence of auto-reverting. Of course, moving point might be |
| 853 | inevitable if the buffer radically changes. | 853 | inevitable if the buffer radically changes. |
| 854 | 854 | ||
| 855 | @defvar auto-revert-buffer-in-progress-p | ||
| 856 | @code{auto-revert-buffer} binds this variable to a non-@code{nil} value | ||
| 857 | while it is working. This can be used by major mode | ||
| 858 | @code{revert-buffer-function} implementations to suppress messages in | ||
| 859 | Auto Revert modes, for example. | ||
| 860 | @end defvar | ||
| 861 | |||
| 855 | @defvar inhibit-auto-revert-buffers | 862 | @defvar inhibit-auto-revert-buffers |
| 856 | When the current buffer is member of this variable (a list of buffers), | 863 | When the current buffer is member of this variable (a list of buffers), |
| 857 | auto-reverting is suppressed for that buffer. This is useful if serious | 864 | auto-reverting is suppressed for that buffer. This is useful if serious |