From: Michael R. Mauger Date: Tue, 30 Jun 2015 00:58:22 +0000 (-0400) Subject: Cygwin emacsclient handles w32 file names X-Git-Tag: emacs-25.0.90~1608^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7466a4ded6ded0bea50151395b7a0fccc5dfd167;p=emacs.git Cygwin emacsclient handles w32 file names --- diff --git a/lisp/server.el b/lisp/server.el index 2007635b98c..ce19b3c9d0f 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -1167,6 +1167,9 @@ The following commands are accepted by the client: (let ((file (pop args-left))) (if coding-system (setq file (decode-coding-string file coding-system))) + (when (and (eq system-type 'cygwin) + (fboundp 'cygwin-convert-file-name-from-windows)) + (setq file (cygwin-convert-file-name-from-windows file))) (setq file (expand-file-name file dir)) (push (cons file filepos) files) (server-log (format "New file: %s %s"