diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-01-30 15:30:04 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-01-30 15:30:04 +0100 |
commit | 49e253a0f803b497ee3177c1c346d4e0ac70fdae (patch) | |
tree | 7d664ed99e0f3e65818743d00d199c41927c8a86 /lisp | |
parent | 4563d1b9fa532d08b4d2b6c0015199d1b552092c (diff) | |
download | emacs-49e253a0f803b497ee3177c1c346d4e0ac70fdae.tar.gz |
Fix problem in filenotify-tests
* lisp/net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
Adapt `accept-process-output' argument.
* test/lisp/filenotify-tests.el (file-notify--deftest-remote):
Remove :unstable tag.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/net/tramp-sh.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 5ed75132753..404fae9197e 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -3647,7 +3647,7 @@ Fall back to normal file name handler if no Tramp handler exists." (set-process-filter p filter) ;; There might be an error if the monitor is not supported. ;; Give the filter a chance to read the output. - (while (tramp-accept-process-output p)) + (while (tramp-accept-process-output p 0)) (unless (process-live-p p) (tramp-error p 'file-notify-error "Monitoring not supported for `%s'" file-name)) |