summaryrefslogtreecommitdiff
path: root/src/inotify.c
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2016-12-29 19:48:17 +0100
committerMichael Albinus <michael.albinus@gmx.de>2016-12-29 19:48:17 +0100
commitb9cacf044902df441dc7cbd9a21f36833dc40a30 (patch)
treeffbc9c40a325c9ebff9f5efcd1a053e61fcb3929 /src/inotify.c
parent11b81a54d538e8deca3cd64521cf85409efb617b (diff)
downloademacs-b9cacf044902df441dc7cbd9a21f36833dc40a30.tar.gz
emacs-b9cacf044902df441dc7cbd9a21f36833dc40a30.tar.bz2
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/inotify.c')
-rw-r--r--src/inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inotify.c b/src/inotify.c
index 38c8df5a29a..cacc6dca147 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -364,7 +364,7 @@ See inotify_rm_watch(2) for more information.
}
DEFUN ("inotify-valid-p", Finotify_valid_p, Sinotify_valid_p, 1, 1, 0,
- doc: /* "Check a watch specified by its WATCH-DESCRIPTOR.
+ doc: /* Check a watch specified by its WATCH-DESCRIPTOR.
WATCH-DESCRIPTOR should be an object returned by `inotify-add-watch'.