]> git.eshelyaron.com Git - emacs.git/commit
Handle watching of several files in the same directory for inotify.
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Jan 2015 10:26:39 +0000 (11:26 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Tue, 13 Jan 2015 10:26:39 +0000 (11:26 +0100)
commitb1ea16072864ed532377c6ea43198a8604890715
treea507036e60e6f0be2d6249bb1e91667c0afabfa4
parent67edddfce60169c0d0e2d6d3dce1408f04febbf1
Handle watching of several files in the same directory for inotify.

Fixes: debbugs:18880
* filenotify.el (file-notify-descriptors, file-notify-handle-event):
Adapt docstring.
(file-notify--descriptor): New defun.
(file-notify-callback, file-notify-add-watch, file-notify-rm-watch):
Adapt docstring.  Handle multiple values for
`file-notify-descriptors' entries.

* net/tramp.el (tramp-handle-file-notify-rm-watch): Do not check
`file-notify-descriptors', the implementation has been changed.
lisp/ChangeLog
lisp/filenotify.el
lisp/net/tramp.el