* autorevert.el (auto-revert-notify-watch-descriptor): Make it
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Jan 2013 19:12:40 +0000 (20:12 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 17 Jan 2013 19:12:40 +0000 (20:12 +0100)
buffer local, again.  This was lost with the fix on 2013-01-12.

lisp/ChangeLog
lisp/autorevert.el

index 8dc238f..c2a5826 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       * autorevert.el (auto-revert-notify-watch-descriptor): Make it
+       buffer local, again.  This was lost with the fix on 2013-01-12.
+
 2013-01-17  Jürgen Hötzel  <juergen@archlinux.org>
 
        * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
index 1ee1db0..1b5460f 100644 (file)
@@ -310,6 +310,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