diff options
| author | Michael Albinus | 2016-12-29 19:48:17 +0100 |
|---|---|---|
| committer | Michael Albinus | 2016-12-29 19:48:17 +0100 |
| commit | b9cacf044902df441dc7cbd9a21f36833dc40a30 (patch) | |
| tree | ffbc9c40a325c9ebff9f5efcd1a053e61fcb3929 /src/w32notify.c | |
| parent | 11b81a54d538e8deca3cd64521cf85409efb617b (diff) | |
| download | emacs-b9cacf044902df441dc7cbd9a21f36833dc40a30.tar.gz emacs-b9cacf044902df441dc7cbd9a21f36833dc40a30.zip | |
Improve filenotify-tests.el
* src/inotify.c (Finotify_valid_p):
* src/kqueue.c (Fkqueue_valid_p):
* src/w32notify.c (Fw32notify_valid_p):
* src/gfilenotify.c (Fgfile_valid_p): Fix typo in docstring.
(Fgfile_monitor_name): New defun.
(syms_of_gfilenotify): Declare Sgfile_monitor_name.
* test/lisp/filenotify-tests.el (file-notify--test-read-event):
New defun, derived from `file-notify--test-read-event-timeout'.
Replace all calls of `read-event' by this.
(file-notify--test-timeout): Fix docstring.
(file-notify--test-monitor): New defun.
(file-notify--deftest-remote): Do not bind
`file-notify--test-read-event-timeout' anymore.
(file-notify-test00-availability): Print also monitor, if existent.
(file-notify--test-with-events): Add an additional
`file-notify--test-read-event' call, in order to get it work
after `file-notify-add-watch'. Remove special timeout for cygwin.
(file-notify-test02-events): Make a better check for cygwin.
(file-notify-test06-many-events): Improve event list for cygwin.
(file-notify-test08-watched-file-in-watched-dir): Add cygwin case.
Diffstat (limited to 'src/w32notify.c')
| -rw-r--r-- | src/w32notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32notify.c b/src/w32notify.c index 32a03f70a66..e23e2b8740c 100644 --- a/src/w32notify.c +++ b/src/w32notify.c | |||
| @@ -670,7 +670,7 @@ w32_get_watch_object (void *desc) | |||
| 670 | } | 670 | } |
| 671 | 671 | ||
| 672 | DEFUN ("w32notify-valid-p", Fw32notify_valid_p, Sw32notify_valid_p, 1, 1, 0, | 672 | DEFUN ("w32notify-valid-p", Fw32notify_valid_p, Sw32notify_valid_p, 1, 1, 0, |
| 673 | doc: /* "Check a watch specified by its WATCH-DESCRIPTOR for validity. | 673 | doc: /* Check a watch specified by its WATCH-DESCRIPTOR for validity. |
| 674 | 674 | ||
| 675 | WATCH-DESCRIPTOR should be an object returned by `w32notify-add-watch'. | 675 | WATCH-DESCRIPTOR should be an object returned by `w32notify-add-watch'. |
| 676 | 676 | ||