Merge from trunk.

This commit is contained in:
Eli Zaretskii 2013-12-09 19:51:13 +02:00
commit 245ddcaa82
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-12-09 Eli Zaretskii <eliz@gnu.org>
* autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
last commit.
2013-12-09 Michael Albinus <michael.albinus@gmx.de>
* autorevert.el (auto-revert-notify-add-watch): Do not handle

View file

@ -508,7 +508,7 @@ will use an up-to-date value of `auto-revert-interval'"
;; `auto-revert-use-notify' are non-nil.
(when (or (string-match auto-revert-notify-exclude-dir-regexp
(expand-file-name default-directory))
(not (file-symlink-p buffer-file-name)))
(file-symlink-p buffer-file-name))
;; Fallback to file checks.
(set (make-local-variable 'auto-revert-use-notify) nil))