From 2daddd9e8a133c80e582e364afd65949a8b2f9d9 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 12 Jan 2013 14:30:00 +0100 Subject: [PATCH] * autorevert.el (auto-revert-notify-watch-descriptor): Give it `permanent-local' property. --- lisp/ChangeLog | 5 +++++ lisp/autorevert.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c0290c57a50..7a8c5f2f490 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-01-12 Michael Albinus + + * autorevert.el (auto-revert-notify-watch-descriptor): Give it + `permanent-local' property. + 2013-01-12 Eli Zaretskii * 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.") (defvar auto-revert-notify-watch-descriptor nil "The file watch descriptor active for the current buffer.") -(make-variable-buffer-local 'auto-revert-notify-watch-descriptor) +(put 'auto-revert-notify-watch-descriptor 'permanent-local t) (defvar auto-revert-notify-modified-p nil "Non-nil when file has been modified on the file system. -- 2.39.5