mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(server-process-filter): Don't call server-create-tty-frame when no
tty name is specified.
This commit is contained in:
parent
aab520e570
commit
650d0dbc02
@ -808,13 +808,13 @@ The following commands are accepted by the client:
|
||||
frame ; The frame that was opened for the client (if any).
|
||||
display ; Open the frame on this display.
|
||||
dontkill ; t if the client should not be killed.
|
||||
(commands ())
|
||||
commands
|
||||
dir
|
||||
use-current-frame
|
||||
(tty-name nil) ;nil, `window-system', or the tty name.
|
||||
tty-type ;string.
|
||||
(files nil)
|
||||
(filepos nil)
|
||||
tty-name ;nil, `window-system', or the tty name.
|
||||
tty-type ;string.
|
||||
files
|
||||
filepos
|
||||
command-line-args-left
|
||||
arg)
|
||||
;; Remove this line from STRING.
|
||||
@ -943,7 +943,9 @@ The following commands are accepted by the client:
|
||||
(if display (server-select-display display)))
|
||||
((eq tty-name 'window-system)
|
||||
(server-create-window-system-frame display nowait proc))
|
||||
(t (server-create-tty-frame tty-name tty-type proc))))
|
||||
;; When resuming on a tty, tty-name is nil.
|
||||
(tty-name
|
||||
(server-create-tty-frame tty-name tty-type proc))))
|
||||
|
||||
(process-put
|
||||
proc 'continuation
|
||||
|
Loading…
Reference in New Issue
Block a user