aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2013-01-12 14:30:00 +0100
committerMichael Albinus2013-01-12 14:30:00 +0100
commit2daddd9e8a133c80e582e364afd65949a8b2f9d9 (patch)
treefa0863a762d74c3f87249d1b9f1490890e61883e
parent86fbb162a47cd754b03ab01bd3142f35a34ea0fb (diff)
downloademacs-2daddd9e8a133c80e582e364afd65949a8b2f9d9.tar.gz
emacs-2daddd9e8a133c80e582e364afd65949a8b2f9d9.zip
* autorevert.el (auto-revert-notify-watch-descriptor): Give it
`permanent-local' property.
-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 c0290c57a50..7a8c5f2f490 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12013-01-12 Michael Albinus <michael.albinus@gmx.de>
2
3 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4 `permanent-local' property.
5
12013-01-12 Eli Zaretskii <eliz@gnu.org> 62013-01-12 Eli Zaretskii <eliz@gnu.org>
2 7
3 * autorevert.el (auto-revert-notify-handler): Fix filtering of 8 * autorevert.el (auto-revert-notify-handler): Fix filtering of
diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 60235cdd77b..51146950a5c 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -311,7 +311,7 @@ Hash key is a watch descriptor, hash value is the corresponding buffer.")
311 311
312(defvar auto-revert-notify-watch-descriptor nil 312(defvar auto-revert-notify-watch-descriptor nil
313 "The file watch descriptor active for the current buffer.") 313 "The file watch descriptor active for the current buffer.")
314(make-variable-buffer-local 'auto-revert-notify-watch-descriptor) 314(put 'auto-revert-notify-watch-descriptor 'permanent-local t)
315 315
316(defvar auto-revert-notify-modified-p nil 316(defvar auto-revert-notify-modified-p nil
317 "Non-nil when file has been modified on the file system. 317 "Non-nil when file has been modified on the file system.