* autorevert.el (top): Require 'cl in order to pacify byte compiler.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 11 Jan 2013 22:36:32 +0000 (23:36 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 11 Jan 2013 22:36:32 +0000 (23:36 +0100)
commit65adfa202b8d38ec4af3bcbc9acaeb5cb66b22b4
tree9b4be17f3c36e0ac9dd3402ec6ccd87abd4376dd
parent43b2e2e71ab2e9748cc879bb784d9337535a35d3
* autorevert.el (top): Require 'cl in order to pacify byte compiler.
(auto-revert-notify-rm-watch): Ignore errors.
(auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
inotify, and '(size last-write-time) for w32notify.  Set
buffer-local `auto-revert-use-notify' to nil when adding a file
watch fails - this is a fallback to the file modification check.
(auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
(auto-revert-notify-event-action)
(auto-revert-notify-event-file-name): New defuns.
(auto-revert-notify-handler): Use them.  Implement first
plausibility checks.
(auto-revert-handler): Handle also `auto-revert-tail-mode'.
lisp/ChangeLog
lisp/autorevert.el