aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2017-01-02 19:30:21 +0100
committerMichael Albinus2017-01-02 19:30:21 +0100
commit1d714e41ea73af89b56fb4bf19f8f0c3f443c268 (patch)
tree6fd86651c97e5792d94154a16d98b1d7303c5f01
parent443f1719947060d87b87ee09aba7af30e75206dc (diff)
downloademacs-1d714e41ea73af89b56fb4bf19f8f0c3f443c268.tar.gz
emacs-1d714e41ea73af89b56fb4bf19f8f0c3f443c268.zip
Check also for "gvfs-monitor-dir.exe" in Tramp
* lisp/net/tramp-sh.el (tramp-get-remote-gvfs-monitor-dir): Check also for "gvfs-monitor-dir.exe".
-rw-r--r--lisp/net/tramp-sh.el9
1 files changed, 7 insertions, 2 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index b0a2c431f95..fec9f10d704 100644
--- a/lisp/net/tramp-sh.el
+++ b/lisp/net/tramp-sh.el
@@ -5409,8 +5409,13 @@ Nonexistent directories are removed from spec."
5409 "Determine remote `gvfs-monitor-dir' command." 5409 "Determine remote `gvfs-monitor-dir' command."
5410 (with-tramp-connection-property vec "gvfs-monitor-dir" 5410 (with-tramp-connection-property vec "gvfs-monitor-dir"
5411 (tramp-message vec 5 "Finding a suitable `gvfs-monitor-dir' command") 5411 (tramp-message vec 5 "Finding a suitable `gvfs-monitor-dir' command")
5412 (tramp-find-executable 5412 ;; We distinguish "gvfs-monitor-dir.exe" from cygwin in order to
5413 vec "gvfs-monitor-dir" (tramp-get-remote-path vec) t t))) 5413 ;; establish better timeouts in filenotify-tests.el. Any better
5414 ;; distinction approach would be welcome!
5415 (or (tramp-find-executable
5416 vec "gvfs-monitor-dir.exe" (tramp-get-remote-path vec) t t)
5417 (tramp-find-executable
5418 vec "gvfs-monitor-dir" (tramp-get-remote-path vec) t t))))
5414 5419
5415(defun tramp-get-remote-inotifywait (vec) 5420(defun tramp-get-remote-inotifywait (vec)
5416 "Determine remote `inotifywait' command." 5421 "Determine remote `inotifywait' command."