diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-12-09 19:48:01 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-12-09 19:48:01 +0200 |
commit | 6aaca95125772b979d88fafc4c8d8b26c6ffcc5b (patch) | |
tree | e435b0baf61f00f4e9b71a9762edeb7ced5feda8 /lisp/autorevert.el | |
parent | ad8a47b89fc3c5a3302255f318b1ed805838cf72 (diff) | |
download | emacs-6aaca95125772b979d88fafc4c8d8b26c6ffcc5b.tar.gz |
Fix a thinko in last commit in autorevert.el.
lisp/autorevert.el (auto-revert-notify-add-watch): Exclude symlinks from
file notifications.
Diffstat (limited to 'lisp/autorevert.el')
-rw-r--r-- | lisp/autorevert.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/autorevert.el b/lisp/autorevert.el index f0929f95e38..677e5a9ea1f 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)) |