summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2019-05-08 00:02:59 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2019-05-18 14:16:21 +0200
commit1943220d1b7ed28b2708c86acfe5493d5c6e3089 (patch)
tree463bdfba333ec0637376d9fe4fc144fbc07bde0d /lisp/emacs-lisp/lisp.el
parent4bf447bb912d73c4637f1094c265994dd99ff7e8 (diff)
downloademacs-1943220d1b7ed28b2708c86acfe5493d5c6e3089.tar.gz
emacs-1943220d1b7ed28b2708c86acfe5493d5c6e3089.tar.bz2
emacs-1943220d1b7ed28b2708c86acfe5493d5c6e3089.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions