Commit 6aaca951 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix a thinko in last commit in autorevert.el.

 lisp/autorevert.el (auto-revert-notify-add-watch): Exclude symlinks from
 file notifications.
parent ad8a47b8
2013-12-09 Eli Zaretskii <>
* autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
last commit.
2013-12-09 Michael Albinus <>
* autorevert.el (auto-revert-notify-add-watch): Do not handle
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment