diff options
author | Ken Brown <kbrown@cornell.edu> | 2015-11-18 14:16:40 -0500 |
---|---|---|
committer | Ken Brown <kbrown@cornell.edu> | 2015-11-18 14:16:40 -0500 |
commit | 133ad3e2006d136a6153a75140a880f8ff16ea65 (patch) | |
tree | 7a4c21bb90b04859d898d485e236e84ae57c0082 | |
parent | ce7ef5b5e02ba2ed7899ef95c3b44791dc1575ae (diff) | |
download | emacs-133ad3e2006d136a6153a75140a880f8ff16ea65.tar.gz |
; * lisp/server.el (server-process-filter): Simplify last change
-rw-r--r-- | lisp/server.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/server.el b/lisp/server.el index 20fa27c20bf..35243aeb90e 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -1172,8 +1172,7 @@ The following commands are accepted by the client: ;; Allow Cygwin's emacsclient to be used as a file ;; handler on MS-Windows, in which case FILENAME ;; might start with a drive letter. - (when (and (eq system-type 'cygwin) - (fboundp 'cygwin-convert-file-name-from-windows) + (when (and (fboundp 'cygwin-convert-file-name-from-windows) (string-match "\\`[A-Za-z]:" file)) (setq file (cygwin-convert-file-name-from-windows file))) (setq file (expand-file-name file dir)) |