aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/server.el
diff options
context:
space:
mode:
authorEli Zaretskii2012-11-13 16:17:18 +0200
committerEli Zaretskii2012-11-13 16:17:18 +0200
commit3c4ca7155293ffc2d04708007131bcbc882d8913 (patch)
tree61787be8cd43b6fb3d5159852fbd186eea404de7 /lisp/server.el
parent5ade42a5114255c43117065494b96d480c1e1588 (diff)
parentc708524567662c8911c5ab2695acc7bda0383705 (diff)
downloademacs-3c4ca7155293ffc2d04708007131bcbc882d8913.tar.gz
emacs-3c4ca7155293ffc2d04708007131bcbc882d8913.zip
Merge from trunk.
Diffstat (limited to 'lisp/server.el')
-rw-r--r--lisp/server.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 7a356a90378..c78e3e376aa 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -842,6 +842,15 @@ This handles splitting the command if it would be bigger than
842 (unless (assq w window-system-initialization-alist) 842 (unless (assq w window-system-initialization-alist)
843 (setq w nil)) 843 (setq w nil))
844 844
845 ;; Special case for ns. This is because DISPLAY may not be set at all
846 ;; which in the ns case isn't an error. The variable display then becomes
847 ;; the fully qualified hostname, which make-frame-on-display below
848 ;; does not understand and throws an error.
849 ;; It may also be a valid X display, but if Emacs is compiled for ns, it
850 ;; can not make X frames.
851 (if (featurep 'ns-win)
852 (setq w 'ns display "ns"))
853
845 (cond (w 854 (cond (w
846 ;; Flag frame as client-created, but use a dummy client. 855 ;; Flag frame as client-created, but use a dummy client.
847 ;; This will prevent the frame from being deleted when 856 ;; This will prevent the frame from being deleted when