Commit 657ceaa0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(init_display): Set `tty's association in frame's parameters alist to the name

of the terminal device, if that is known.
parent dbe6b8bb
2008-08-30 Eli Zaretskii <eliz@gnu.org>
* dispnew.c (init_display): Set `tty's association in frame's
parameters alist to the name of the terminal device, if that is
known.
2008-08-29 Jason Rumney <jasonr@gnu.org>
 
* w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script.
......
......@@ -6944,7 +6944,13 @@ init_display ()
Fmodify_frame_parameters
(selected_frame, Fcons (Fcons (Qtty_type,
Ftty_type (selected_frame)), Qnil));
Fmodify_frame_parameters (selected_frame, Fcons (Fcons (Qtty, Qnil), Qnil));
if (t->display_info.tty->name)
Fmodify_frame_parameters (selected_frame,
Fcons (Fcons (Qtty, build_string (t->display_info.tty->name)),
Qnil));
else
Fmodify_frame_parameters (selected_frame, Fcons (Fcons (Qtty, Qnil),
Qnil));
}
{
......
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