summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ert.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2015-11-18 13:47:25 +0000
committerMichael Albinus <michael.albinus@gmx.de>2015-11-18 13:47:25 +0000
commit5f08a72c8bf88d4f6f564c5890ec937f59605463 (patch)
tree6fd3a17bad8adaed59c007c3424209293282c194 /lisp/emacs-lisp/ert.el
parentbad2b4dbc6dee26bde4b2da73cf9c295f0a31f97 (diff)
downloademacs-5f08a72c8bf88d4f6f564c5890ec937f59605463.tar.gz
emacs-5f08a72c8bf88d4f6f564c5890ec937f59605463.tar.bz2
emacs-5f08a72c8bf88d4f6f564c5890ec937f59605463.zip
Further fixes for kqueue.
* lisp/filenotify.el (file-notify-callback): Raise also event if directory name matches. (file-notify-add-watch): Add `create' to the flags for `kqueue'. * src/kqueue.c (kqueue_generate_event): Use watch_object as argument instead of ident. Remove callback argument. Adapt callees. Check actions whether they are monitored flags. * test/automated/file-notify-tests.el (file-notify--test-library): New defun. (file-notify-test00-availability, file-notify-test02-events) (file-notify-test04-file-validity) (file-notify-test05-dir-validity): Use it. (file-notify-test02-events, file-notify-test04-file-validity): Add `read-event' calls between different file actions, in order to give the backends a chance to rais an event. Needed especially for kqueue. In case of deleting a directory, there are two `deleted' events.
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions