diff options
| author | Eli Zaretskii | 2013-12-09 19:48:01 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-12-09 19:48:01 +0200 |
| commit | 6aaca95125772b979d88fafc4c8d8b26c6ffcc5b (patch) | |
| tree | e435b0baf61f00f4e9b71a9762edeb7ced5feda8 | |
| parent | ad8a47b89fc3c5a3302255f318b1ed805838cf72 (diff) | |
| download | emacs-6aaca95125772b979d88fafc4c8d8b26c6ffcc5b.tar.gz emacs-6aaca95125772b979d88fafc4c8d8b26c6ffcc5b.zip | |
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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/autorevert.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a05b461121..8a4cff949ab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2013-12-09 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in | ||
| 4 | last commit. | ||
| 5 | |||
| 1 | 2013-12-09 Michael Albinus <michael.albinus@gmx.de> | 6 | 2013-12-09 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * autorevert.el (auto-revert-notify-add-watch): Do not handle | 8 | * autorevert.el (auto-revert-notify-add-watch): Do not handle |
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'" | |||
| 508 | ;; `auto-revert-use-notify' are non-nil. | 508 | ;; `auto-revert-use-notify' are non-nil. |
| 509 | (when (or (string-match auto-revert-notify-exclude-dir-regexp | 509 | (when (or (string-match auto-revert-notify-exclude-dir-regexp |
| 510 | (expand-file-name default-directory)) | 510 | (expand-file-name default-directory)) |
| 511 | (not (file-symlink-p buffer-file-name))) | 511 | (file-symlink-p buffer-file-name)) |
| 512 | ;; Fallback to file checks. | 512 | ;; Fallback to file checks. |
| 513 | (set (make-local-variable 'auto-revert-use-notify) nil)) | 513 | (set (make-local-variable 'auto-revert-use-notify) nil)) |
| 514 | 514 | ||