Commit 8536c0f5 authored by Chong Yidong's avatar Chong Yidong
Browse files

(main): If using the current frame, send tty information to Emacs in

case daemon mode needs to occupy this tty.
parent 8a8a7cd3
......@@ -1437,7 +1437,10 @@ main (argc, argv)
send_to_emacs (emacs_socket, " ");
}
if (tty)
/* If using the current frame, send tty information to Emacs anyway.
In daemon mode, Emacs may need to occupy this tty if no other
frame is available. */
if (tty || current_frame)
{
char *type = egetenv ("TERM");
char *tty_name = NULL;
......
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