summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.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-25 15:07:11 +0100
commit65ba5a98d47f4305f95f960efdf424684754a11d (patch)
tree644b229abb093a6024446bf4655d1aa0b460b453 /lisp/emacs-lisp/inline.el
parent13f3508443e4f5c48d40e4dbb11eaf875a5b2042 (diff)
downloademacs-65ba5a98d47f4305f95f960efdf424684754a11d.tar.gz
emacs-65ba5a98d47f4305f95f960efdf424684754a11d.tar.bz2
emacs-65ba5a98d47f4305f95f960efdf424684754a11d.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/inline.el')
0 files changed, 0 insertions, 0 deletions