emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master c53e7f2: Fix Bug#33556


From: Michael Albinus
Subject: [Emacs-diffs] master c53e7f2: Fix Bug#33556
Date: Fri, 30 Nov 2018 06:05:10 -0500 (EST)

branch: master
commit c53e7f2c23bf02069469e764bf8563244ef6751a
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix Bug#33556
    
    * lisp/autorevert.el (auto-revert-notify-add-watch):
    Assert that a key in `auto-revert-notify-watch-descriptor-hash-list'
    is a valid file notification descriptor.  (Bug#33556)
---
 lisp/autorevert.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/autorevert.el b/lisp/autorevert.el
index 2cf5b42..d4cb823 100644
--- a/lisp/autorevert.el
+++ b/lisp/autorevert.el
@@ -527,6 +527,7 @@ will use an up-to-date value of `auto-revert-interval'"
       (maphash
        (lambda (key _value)
          (when (and
+                (file-notify-valid-p key)
                 (equal (file-notify--watch-absolute-filename
                         (gethash key file-notify-descriptors))
                        (directory-file-name file))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]