summaryrefslogtreecommitdiff
path: root/doc/lispref
diff options
context:
space:
mode:
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/os.texi22
1 files changed, 2 insertions, 20 deletions
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi
index 8d7177dc1d5..f7d4117673a 100644
--- a/doc/lispref/os.texi
+++ b/doc/lispref/os.texi
@@ -2675,32 +2675,14 @@ being reported. For example:
@end example
Whether the action @code{renamed} is returned, depends on the used
-watch library. It can be expected, when a directory is watched, and
-both @var{file} and @var{file1} belong to this directory. Otherwise,
-the actions @code{deleted} and @code{created} could be returned in a
-random order.
+watch library. Otherwise, the actions @code{deleted} and
+@code{created} could be returned in a random order.
@example
@group
(rename-file "/tmp/foo" "/tmp/bla")
@result{} Event (35025468 renamed "/tmp/foo" "/tmp/bla")
@end group
-
-@group
-(file-notify-add-watch
- "/var/tmp" '(change attribute-change) 'my-notify-callback)
- @result{} 35025504
-@end group
-
-@group
-(rename-file "/tmp/bla" "/var/tmp/bla")
- @result{} ;; gfilenotify
- Event (35025468 renamed "/tmp/bla" "/var/tmp/bla")
-
- @result{} ;; inotify
- Event (35025504 created "/var/tmp/bla")
- Event (35025468 deleted "/tmp/bla")
-@end group
@end example
@end defun