mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 23:10:47 -08:00
(init_display): Set `tty's association in frame's parameters alist to the name
of the terminal device, if that is known.
This commit is contained in:
parent
dbe6b8bb06
commit
657ceaa03e
2 changed files with 13 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
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));
|
||||
}
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue