]> git.eshelyaron.com Git - emacs.git/commit
Don't remove notify descriptor that is already gone
authorMattias Engdegård <mattiase@acm.org>
Wed, 10 Apr 2019 13:25:53 +0000 (15:25 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 15 Apr 2019 08:30:31 +0000 (10:30 +0200)
commite9e807e9317ca7aa99a5dd220ee8586f8f4331bf
tree66f4ed55ca1c822fb213799fd8ac3a0acbf1a434
parentba6ed9a48dda6e8c9c4e886817dbac64f32437fd
Don't remove notify descriptor that is already gone

* lisp/autorevert.el (auto-revert-use-notify, auto-revert-mode,
global-auto-revert-mode, auto-revert-notify-rm-watch,
auto-revert-notify-add-watch, auto-revert-notify-handler,
auto-revert-notify-rm-watch-callback):
Don't remove a notify descriptor after receiving a `stopped' notification
event, because the descriptor is then already gone and any attempt to
remove it causes a recursive call to `auto-revert-notify-handler'.
lisp/autorevert.el