aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2013-12-09 19:48:01 +0200
committerEli Zaretskii <[email protected]>2013-12-09 19:48:01 +0200
commit6aaca95125772b979d88fafc4c8d8b26c6ffcc5b (patch)
treee435b0baf61f00f4e9b71a9762edeb7ced5feda8
parentad8a47b89fc3c5a3302255f318b1ed805838cf72 (diff)
Fix a thinko in last commit in autorevert.el.
lisp/autorevert.el (auto-revert-notify-add-watch): Exclude symlinks from file notifications.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/autorevert.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8a05b46112..8a4cff949a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-09 Eli Zaretskii <[email protected]>
+
+ * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
+ last commit.
+
2013-12-09 Michael Albinus <[email protected]>
* autorevert.el (auto-revert-notify-add-watch): Do not handle
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index f0929f95e3..677e5a9ea1 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -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))