aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2025-08-08 13:26:16 +0200
committerMichael Albinus2025-08-08 13:26:16 +0200
commitbe4be3eb094ffbbf5e36666acc03ada46903274c (patch)
tree451de3091ec2044147ac5b5dc2c5884bec582141 /doc
parent560aee2fb2403a6c7205798e05725abda2bc5cbc (diff)
downloademacs-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.texi7
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
852as a consequence of auto-reverting. Of course, moving point might be 852as a consequence of auto-reverting. Of course, moving point might be
853inevitable if the buffer radically changes. 853inevitable 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
857while it is working. This can be used by major mode
858@code{revert-buffer-function} implementations to suppress messages in
859Auto Revert modes, for example.
860@end defvar
861
855@defvar inhibit-auto-revert-buffers 862@defvar inhibit-auto-revert-buffers
856When the current buffer is member of this variable (a list of buffers), 863When the current buffer is member of this variable (a list of buffers),
857auto-reverting is suppressed for that buffer. This is useful if serious 864auto-reverting is suppressed for that buffer. This is useful if serious