diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2015-11-25 15:00:06 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2015-11-25 15:00:06 +0100 |
commit | 15e7544bc4a5b38d7e2c28043b3b70eaef1ea5f5 (patch) | |
tree | bd19b594699af92685e0a68a48c44d117db1f667 /lisp/emacs-lisp/lisp-mnt.el | |
parent | 8eca1d457083c8b1f46f8addbc695a6119ffb9ad (diff) | |
download | emacs-15e7544bc4a5b38d7e2c28043b3b70eaef1ea5f5.tar.gz emacs-15e7544bc4a5b38d7e2c28043b3b70eaef1ea5f5.tar.bz2 emacs-15e7544bc4a5b38d7e2c28043b3b70eaef1ea5f5.zip |
Some final fixes in file notification before merging with master
* lisp/filenotify.el (file-notify--rm-descriptor): Remove WHAT arg.
(file-notify-callback): Improve check for `stopped' event. Call
`file-notify-rm-watch' rather than `file-notify--rm-descriptor'.
(file-notify-add-watch): In case FILE is not a directory, call the
file monitor for the kqueue backend. Otherwise, call the
directory monitor for the upper directory.
* src/inotify.c (inotifyevent_to_event): Extract file name from
watch_object if the event doesn't provide it.
(Finotify_add_watch): Add file name to watch_object.
* test/automated/file-notify-tests.el (file-notify--test-timeout):
Use different timeouts for different libraries.
(file-notify--test-with-events): Suppress lock files. Flush
outstanding events before running the body.
(file-notify-test02-events, file-notify-test04-file-validity): Do
not skip cygwin tests. Add additional test for file creation.
Adapt expected result for different backends.
(file-notify-test03-autorevert): Some of the tests don't work for
w32notify.
(file-notify-test06-many-events): Rename into both directions.
Diffstat (limited to 'lisp/emacs-lisp/lisp-mnt.el')
0 files changed, 0 insertions, 0 deletions