branch: elpa/helm
commit 4b781e229c1872c674f77d695530241abba988f0
Merge: a2f829e85b 81bfb239d5
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: GitHub <nore...@github.com>

    Merge pull request #2620 from mcarpenter/cygstart
    
    Cygwin compatibility for helm-open-file-with-default-tool
---
 helm-utils.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/helm-utils.el b/helm-utils.el
index 4da0fde40d..9f1238d971 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -1071,7 +1071,9 @@ Assume regexp is a pcre based regexp."
                             "xdg-open")
                            ((or (eq system-type 'darwin) ;; Mac OS X
                                 (eq system-type 'macos)) ;; Mac OS 9
-                            "open"))
+                            "open")
+                          ((eq system-type 'cygwin)
+                           "cygstart"))
                      file))))
 
 (defun helm-open-dired (file)

Reply via email to