autorevert: Resume with polling if file is deleted
commited54b3ff9760e7b73172aa296949dfcc7aba106e
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 19 Apr 2016 09:05:55 +0000 (19 11:05 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 19 Apr 2016 09:05:55 +0000 (19 11:05 +0200)
tree07f13d97c30229d493233c7259707dd726b49791
parentc456627ffaf4e73e979883b56117cb91f164936b
autorevert: Resume with polling if file is deleted

* lisp/autorevert.el: Use consistent wording in comments and
docstrings.
(auto-revert-mode): Add local function to `kill-buffer-hook'.
(auto-revert-notify-handler): Improve handling of `stopped' event.

* test/lisp/autorevert-tests.el
(auto-revert-test02-auto-revert-deleted-file): New test.
(auto-revert-test03-auto-revert-tail-mode)
(auto-revert-test04-auto-revert-mode-dired): Rename them.
lisp/autorevert.el
test/lisp/autorevert-tests.el