]> git.eshelyaron.com Git - emacs.git/commit
Handle an error of file-notify-add-watch in autorevert.el
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 21 Jul 2025 07:24:23 +0000 (09:24 +0200)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Jul 2025 08:10:50 +0000 (10:10 +0200)
commit78fda6bc7ea5d8a01d3ac74af03c96bd70749596
treea59c841f7f8d5e642f8e776f11adbc1781d4bdd9
parent4a372ef129d276784cc41af5316cbcb6829faa46
Handle an error of file-notify-add-watch in autorevert.el

* lisp/autorevert.el (auto-revert-notify-add-watch):
Disable `auto-revert-use-notify' in the buffer when
`file-notify-add-watch' fails.

(cherry picked from commit ef84a1b2d65e187988ae4e66306ac17244a68fc5)
lisp/autorevert.el