* autorevert.el (auto-revert-notify-watch-descriptor): Give it
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 12 Jan 2013 13:30:00 +0000 (14:30 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 12 Jan 2013 13:30:00 +0000 (14:30 +0100)
`permanent-local' property.

lisp/ChangeLog
lisp/autorevert.el

index c0290c5..7a8c5f2 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
+
+       * autorevert.el (auto-revert-notify-watch-descriptor): Give it
+       `permanent-local' property.
+
 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
 
        * autorevert.el (auto-revert-notify-handler): Fix filtering of
index 60235cd..5114695 100644 (file)
@@ -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.