]> git.eshelyaron.com Git - emacs.git/commit
Enable `dont-follow' for inotify file notifications
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 16 Sep 2022 15:23:59 +0000 (17:23 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 16 Sep 2022 15:23:59 +0000 (17:23 +0200)
commit2053e350f3d39e312a6a4b18c05fe8abefc5ee95
treed99179160ad24af86db9d0891fd283cd2208fb08
parentf8c5a82ba15a6217b52dad66bf5fdf6f064a9b42
Enable `dont-follow' for inotify file notifications

* doc/lispref/os.texi (File Notifications): Symlinks aren't followed.

* lisp/filenotify.el (file-notify--add-watch-inotify):
Add `dont-follow' flag.

* lisp/net/tramp.el (tramp-handle-file-notify-rm-watch):
Suppress errors when reading process output.

* test/lisp/filenotify-tests.el (file-notify-test11-symlinks)
(file-notify-test11-symlinks-remote): New tests.
doc/lispref/os.texi
lisp/filenotify.el
lisp/net/tramp.el
test/lisp/filenotify-tests.el