diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2015-11-20 18:06:42 +0000 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2015-11-20 18:06:42 +0000 |
commit | 8eca1d457083c8b1f46f8addbc695a6119ffb9ad (patch) | |
tree | 32cb676738c714797cdb4663fb31c481135e73a1 /lisp/emacs-lisp | |
parent | 83d429b0ad0d73df68b79dd94d7c95256e01fdc0 (diff) | |
download | emacs-8eca1d457083c8b1f46f8addbc695a6119ffb9ad.tar.gz emacs-8eca1d457083c8b1f46f8addbc695a6119ffb9ad.tar.bz2 emacs-8eca1d457083c8b1f46f8addbc695a6119ffb9ad.zip |
Rework file notifications, kqueue has problems with directory monitors
* lisp/filenotify.el (file-notify-add-watch): Call the native
add-watch function on the file, not on the dir.
* src/kqueue.c (kqueue_compare_dir_list): Make also bookkeeping
about already deleted entries.
* test/automated/auto-revert-tests.el
(auto-revert-test01-auto-revert-several-files): Do not call "cp -f"
since this deletes the target file first.
* test/automated/file-notify-tests.el (file-notify--test-event-test):
Make stronger checks.
(file-notify-test01-add-watch, file-notify-test02-events)
(file-notify-test04-file-validity, file-notify-test05-dir-validity):
Rewrite in order to call file monitors but directory monitors.
(file-notify-test06-many-events): Ler rename work in both directions.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions