diff options
author | Michael R. Mauger <michael@mauger.com> | 2015-06-29 20:58:22 -0400 |
---|---|---|
committer | Michael R. Mauger <michael@mauger.com> | 2015-06-29 20:58:22 -0400 |
commit | 7466a4ded6ded0bea50151395b7a0fccc5dfd167 (patch) | |
tree | d5a2917dbd4474f8f935a41b853ee36caa2a73a0 /lisp | |
parent | ea399306a304d8f7e0feb46c2215e47d0eae6864 (diff) | |
download | emacs-7466a4ded6ded0bea50151395b7a0fccc5dfd167.tar.gz |
Cygwin emacsclient handles w32 file names
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/server.el | 3 |
1 files changed, 3 insertions, 0 deletions
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" |