* lisp/autorevert.el: Use lexical-binding. Fix hook usage.
commit9e41e0bc6a6fdb7a01841db62d8de42d67be534a
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 May 2015 04:03:12 +0000 (22 00:03 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 22 May 2015 04:03:12 +0000 (22 00:03 -0400)
tree13383ba728a0d12bc47f408d1408a862dc6d36fd
parentea92591983a05bd85d52a6a07dd3b7149feb46d2
* lisp/autorevert.el: Use lexical-binding.  Fix hook usage.

(global-auto-revert-ignore-buffer, auto-revert-notify-modified-p)
(auto-revert-notify-watch-descriptor): Use defvar-local.
(find-file-hook, auto-revert-tail-mode, )
(auto-revert-notify-add-watch): Use setq-local.
(auto-revert-notify-add-watch): Don't call make-local-variable on
kill-buffer-hook (bug#20601).
lisp/autorevert.el