projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f67353
)
Fix Bug#33556
author
Michael Albinus
<michael.albinus@gmx.de>
Fri, 30 Nov 2018 11:04:57 +0000
(12:04 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Fri, 30 Nov 2018 11:04:57 +0000
(12:04 +0100)
* 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
patch
|
blob
|
history
diff --git
a/lisp/autorevert.el
b/lisp/autorevert.el
index 2cf5b427ea3f261bf9250abec5a107b131cad03a..d4cb823084ff909bf9e79596f9cf01392fd7e17f 100644
(file)
--- 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))