]> git.eshelyaron.com Git - emacs.git/commitdiff
Cygwin emacsclient handles w32 file names
authorMichael R. Mauger <michael@mauger.com>
Tue, 30 Jun 2015 00:58:22 +0000 (20:58 -0400)
committerMichael R. Mauger <michael@mauger.com>
Tue, 30 Jun 2015 00:58:22 +0000 (20:58 -0400)
lisp/server.el

index 2007635b98c5aceac06a5bd76fcbc5457ba38329..ce19b3c9d0fdf31afcbeb8e42146f38435c16c0d 100644 (file)
@@ -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"