1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
emacs/doc
Mattias Engdegård 1943220d1b Don't use file notification on non-file buffers
Allow non-file buffers to declare that notification on their
default-directory is sufficient to know when auto-revert updates are
required by setting the new variable `buffer-auto-revert-by-notification'
to non-nil.  If nil, the default, then auto-revert will poll
those buffers instead. (bug#35418).
Currently, only Dired sets that variable.

* lisp/autorevert.el (auto-revert-buffers):
Modify condition for using notification.
* lisp/files.el (buffer-auto-revert-by-notification): New variable.
* lisp/dired.el (dired-mode): Set buffer-auto-revert-by-notification.
* doc/emacs/arevert-xtra.texi (Non-File Buffers): Document new variable.
* etc/NEWS (Changes in Specialized Modes and Packages): Describe new variable.
2019-05-18 14:16:21 +02:00
..
emacs Don't use file notification on non-file buffers 2019-05-18 14:16:21 +02:00
lispintro Merge from origin/emacs-26 2019-03-09 10:07:46 -08:00
lispref Add standard unmatchable regexp 2019-05-15 18:55:27 +02:00
man Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
misc * lisp/progmodes/flymake.el: Obsolete variable flymake-start-on-newline 2019-05-07 23:29:14 +03:00