summaryrefslogtreecommitdiff
path: root/lisp/filenotify.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2021-10-15 16:29:11 +0200
committerMichael Albinus <michael.albinus@gmx.de>2021-10-15 16:29:11 +0200
commit4ad0fc0dd08d65978ed8a1637bc1a14c26b41bee (patch)
treee4d29304df6488f9bc23954e172c63fa818ec859 /lisp/filenotify.el
parentf5b8df14c6d9c906eed548c694f23e5abcf6e403 (diff)
downloademacs-4ad0fc0dd08d65978ed8a1637bc1a14c26b41bee.tar.gz
Precise documentation of file-notify-add-watch
* doc/lispref/os.texi (File Notifications): * lisp/filenotify.el (file-notify-add-watch): Precise, that watching a directory includes reports on file changes for some backends. (Bug#51146)
Diffstat (limited to 'lisp/filenotify.el')
-rw-r--r--lisp/filenotify.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/filenotify.el b/lisp/filenotify.el
index e0dceb704d5..271fa270836 100644
--- a/lisp/filenotify.el
+++ b/lisp/filenotify.el
@@ -390,7 +390,9 @@ include the following symbols:
permissions or modification time
If FILE is a directory, `change' watches for file creation or
-deletion in that directory. This does not work recursively.
+deletion in that directory. Some of the file notification
+backends report also file changes. This does not work
+recursively.
When any event happens, Emacs will call the CALLBACK function passing
it a single argument EVENT, which is of the form