aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDaniel Colascione2012-09-17 03:55:03 -0800
committerDaniel Colascione2012-09-17 03:55:03 -0800
commit5e0944c6f072cc1b9304b7369bf61091ffd23ea7 (patch)
treedfe2ba7d65ed993c2a8fb2cec03119024aeef839 /lisp
parent0fda9b750e337d876c9461db7d4426a3f0b81482 (diff)
downloademacs-5e0944c6f072cc1b9304b7369bf61091ffd23ea7.tar.gz
emacs-5e0944c6f072cc1b9304b7369bf61091ffd23ea7.zip
Fix emacsclient to work with cygw32
Diffstat (limited to 'lisp')
-rw-r--r--lisp/server.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 4fd55bcf6d1..d45c7c28482 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1114,9 +1114,13 @@ The following commands are accepted by the client:
1114 tty-type (pop args-left) 1114 tty-type (pop args-left)
1115 dontkill (or dontkill 1115 dontkill (or dontkill
1116 (not use-current-frame))) 1116 (not use-current-frame)))
1117 ;; On Windows, emacsclient always asks for a tty frame. 1117 ;; On Windows, emacsclient always asks for a tty
1118 ;; If running a GUI server, force the frame type to GUI. 1118 ;; frame. If running a GUI server, force the frame
1119 (when (eq window-system 'w32) 1119 ;; type to GUI. (Cygwin is perfectly happy with
1120 ;; multi-tty support, so don't override the user's
1121 ;; choice there.)
1122 (when (and (eq system-type 'windows-nt)
1123 (eq window-system 'w32))
1120 (push "-window-system" args-left))) 1124 (push "-window-system" args-left)))
1121 1125
1122 ;; -position LINE[:COLUMN]: Set point to the given 1126 ;; -position LINE[:COLUMN]: Set point to the given