diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2015-11-14 11:51:28 +0000 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2015-11-25 15:07:11 +0100 |
commit | 41d9bd0c3b19d839b72fdd20e613cb6ab3b1b1f4 (patch) | |
tree | f511cf454627c1bc1c8175ac12f88f8ac76eb2cf /lisp/emacs-lisp/cursor-sensor.el | |
parent | c571fc149a786a5bef7f2b283b912999d76dd313 (diff) | |
download | emacs-41d9bd0c3b19d839b72fdd20e613cb6ab3b1b1f4.tar.gz emacs-41d9bd0c3b19d839b72fdd20e613cb6ab3b1b1f4.tar.bz2 emacs-41d9bd0c3b19d839b72fdd20e613cb6ab3b1b1f4.zip |
Implement directory events
* lisp/filenotify.el (file-notify-handle-event)
(file-notify-callback): Remove traces.
* src/kqueue.c: Include <sys/time.h>.
(kqueue_generate_event, kqueue_compare_dir_list): New functions.
(kqueue_callback): Use them. Call kevent() with a zero timeout.
(Fkqueue_add_watch): Adapt docstring. Support directory events.
Compute initial directory listing. Close file descriptor in case
of errors.
(syms_of_kqueue): Declare Qcreate.
Diffstat (limited to 'lisp/emacs-lisp/cursor-sensor.el')
0 files changed, 0 insertions, 0 deletions