From c53e7f2c23bf02069469e764bf8563244ef6751a Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Fri, 30 Nov 2018 12:04:57 +0100 Subject: [PATCH] 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 2cf5b427ea3..d4cb823084f 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)) -- 2.39.5