Use file notification in autorevert also for recreated files
commit530bb2dc68bbd8be8a90759992095cc2edc4efcf
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 20 Jan 2018 15:26:02 +0000 (20 16:26 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 20 Jan 2018 15:26:02 +0000 (20 16:26 +0100)
tree0e90f97d0893246cdcfd1c812db912b23ccafacd
parent5b64f1813476b681c10649e9aa0642af2c4ed845
Use file notification in autorevert also for recreated files

* lisp/autorevert.el (auto-revert-mode)
(global-auto-revert-mode, auto-revert-notify-add-watch)
(auto-revert-notify-handler, auto-revert-handler): Do not use
buffer local `auto-revert-use-notify' anymore.

* test/lisp/autorevert-tests.el
(auto-revert-test02-auto-revert-deleted-file): Adapt test in
order to check, that file notification is reenabled when possible.
lisp/autorevert.el
test/lisp/autorevert-tests.el