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)
This commit is contained in:
parent
5f67353da7
commit
c53e7f2c23
1 changed files with 1 additions and 0 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue