]> code.delx.au - gnu-emacs/commit
Cleanup file notification code in Tramp
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Mar 2016 13:36:14 +0000 (14:36 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Mar 2016 13:36:14 +0000 (14:36 +0100)
commitc62371c23bde6c5cd4b0c711ff1754a8809a63d3
tree57d41cfd20b3a052cc8888f260448547a6f7ae90
parentc8874e2113221a08252113b6d46ecc7066c62c8c
Cleanup file notification code in Tramp

* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Make `events' a list of symbols for "inotifywait".
(tramp-sh-gvfs-monitor-dir-process-filter): Make event a list.
Call `file-notify-handle-event' for better traces.
(tramp-sh-inotifywait-process-filter): Check for expected events.
Call `file-notify-handle-event' for better traces.
lisp/net/tramp-sh.el