* autorevert.el: Add file watch support.
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 14:27:48 +0000 (15:27 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 10 Jan 2013 14:27:48 +0000 (15:27 +0100)
commited9112575ebdf0fefec530d7b2687f83eea7bb8a
tree78b09a1fe52b4460f1a4039f2af158f1d66dcbe6
parent58cc0a010b7e16dfcf03d7e858ea27eba5dece65
* autorevert.el: Add file watch support.
(auto-revert-notify-enabled): New defconst.
(auto-revert-notify-watch-descriptor-hash-list)
(auto-revert-notify-watch-descriptor)
(auto-revert-notify-modified-p): New defvars.
(auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
(auto-revert-notify-handler): New defuns.
(auto-revert-mode, global-auto-revert-mode): Remove file watches
when mode is disabled.
(auto-revert-handler): Check for `auto-revert-notify-modified-p'.
(auto-revert-buffers): Add file watches for active buffers.
lisp/ChangeLog
lisp/autorevert.el