Variable: revert-buffer-with-fine-grain-max-seconds

revert-buffer-with-fine-grain-max-seconds is a variable defined in files.el.gz.

Value

2.0

Documentation

Maximum time that revert-buffer-with-fine-grain should use.

The command tries to preserve markers, properties and overlays. If the operation takes more than this time, a single delete+insert is performed. Actually, this value is passed as the MAX-SECS argument to the function replace-buffer-contents, so it is not ensured that the whole execution won't take longer. See replace-buffer-contents for more details.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
(defvar revert-buffer-with-fine-grain-max-seconds 2.0
  "Maximum time that `revert-buffer-with-fine-grain' should use.
The command tries to preserve markers, properties and overlays.
If the operation takes more than this time, a single
delete+insert is performed.  Actually, this value is passed as
the MAX-SECS argument to the function `replace-buffer-contents',
so it is not ensured that the whole execution won't take longer.
See `replace-buffer-contents' for more details.")