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-14 11:51:28 +0000 |
commit | 978f5b0a705c459fc708b7adacdac2b00c759422 (patch) | |
tree | 6423a004c22773d1431d9220ed39421223a6ad8b /lisp/emacs-lisp/lisp.el | |
parent | 84cadc60a7cd4695b9d9e086fd8d68803388dea8 (diff) | |
download | emacs-978f5b0a705c459fc708b7adacdac2b00c759422.tar.gz emacs-978f5b0a705c459fc708b7adacdac2b00c759422.tar.bz2 emacs-978f5b0a705c459fc708b7adacdac2b00c759422.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/lisp.el')
0 files changed, 0 insertions, 0 deletions