1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-08 15:35:02 +00:00

; * lisp/server.el (server-process-filter): Simplify last change

This commit is contained in:
Ken Brown 2015-11-18 14:16:40 -05:00
parent ce7ef5b5e0
commit 133ad3e200

View File

@ -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))