Continue gfilenotify.c implementation of missing parts
commitcad8aef3241efa0873fb0c003b563cf31a4c0f2e
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 23 Sep 2015 18:34:22 +0000 (23 20:34 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 23 Sep 2015 18:34:22 +0000 (23 20:34 +0200)
tree1649ac34fcef3f59900b6860360460d230e3f7b6
parent4c0fed13e5ca1826bab52cd9c3fc31ad0e5c765c
Continue gfilenotify.c implementation of missing parts

* lisp/filenotify.el (file-notify-add-watch): Append `flags' to
`gfile-add-watch' call.
(file-notify-rm-watch): Modify `file-notify-descriptors' only
after calling the low level functions.

* src/gfilenotify.c (dir_monitor_callback): Check, whether
event_type is expected.
(Fgfile_add_watch): Allow also `change'and `attribute-change' for FLAGS.
(Fgfile_rm_watch): Fix typo.
(syms_of_gfilenotify): Declare Qchange and Qattribute_change.
lisp/filenotify.el
src/gfilenotify.c