aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias EngdegÄrd2019-04-20 10:19:52 +0200
committerMattias EngdegÄrd2019-04-22 17:54:32 +0200
commitc243aabfa8d280adf75024c8e6c0e68a7932f6cf (patch)
tree72bb8683c4ce909d18be2d180a174e86c1927df5 /src
parent4e2ea400cbd78fa791fb897938a6dcb099401a25 (diff)
downloademacs-c243aabfa8d280adf75024c8e6c0e68a7932f6cf.tar.gz
emacs-c243aabfa8d280adf75024c8e6c0e68a7932f6cf.zip
Make file-notify-rm-watch robust against reentry
Allow file-notify callbacks to call `file-notify-rm-watch', harmlessly, after receiving a `stopped' event without triggering recursion. * lisp/filenotify.el (file-notify--watch): Note that `callback' can be nil. (file-notify--rm-descriptor): Set the `callback' field to nil before sending `stopped'. (file-notify-rm-watch): Don't do anything if the `callback' field is nil.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions