Commit d9bf544c authored by Chong Yidong's avatar Chong Yidong

(server-process-filter): Only default to emacsclient's terminal in

daemon mode.
parent 610a5df3
......@@ -936,10 +936,11 @@ The following commands are accepted by the client:
(or (eq use-current-frame 'always)
;; We can't use the Emacs daemon's
;; terminal frame.
(not (and (= (length (frame-list)) 1)
(not (and (daemonp)
(= (length (frame-list)) 1)
(eq (selected-frame)
terminal-frame)))))
(setq tty-name nil)
(setq tty-name nil tty-type nil)
(if display (server-select-display display)))
((eq tty-name 'window-system)
(server-create-window-system-frame display nowait proc))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment