Cleanup file notification code in Tramp
commitc62371c23bde6c5cd4b0c711ff1754a8809a63d3
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Mar 2016 13:36:14 +0000 (25 14:36 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 25 Mar 2016 13:36:14 +0000 (25 14:36 +0100)
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