diff options
| author | Eli Zaretskii | 2008-08-30 12:15:06 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2008-08-30 12:15:06 +0000 |
| commit | 657ceaa03e351d272036473c8ba52ca15e95e077 (patch) | |
| tree | c0575c815bce7eff32f91cae15a2b5d4dbcb919e /src | |
| parent | dbe6b8bb06480970fea2cf551ca95c7216954ddc (diff) | |
| download | emacs-657ceaa03e351d272036473c8ba52ca15e95e077.tar.gz emacs-657ceaa03e351d272036473c8ba52ca15e95e077.zip | |
(init_display): Set `tty's association in frame's parameters alist to the name
of the terminal device, if that is known.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/dispnew.c | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 97135252c25..fc64f7e33f8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2008-08-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * dispnew.c (init_display): Set `tty's association in frame's | ||
| 4 | parameters alist to the name of the terminal device, if that is | ||
| 5 | known. | ||
| 6 | |||
| 1 | 2008-08-29 Jason Rumney <jasonr@gnu.org> | 7 | 2008-08-29 Jason Rumney <jasonr@gnu.org> |
| 2 | 8 | ||
| 3 | * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. | 9 | * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. |
diff --git a/src/dispnew.c b/src/dispnew.c index 895b6490dae..48a8bd283c3 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -6944,7 +6944,13 @@ init_display () | |||
| 6944 | Fmodify_frame_parameters | 6944 | Fmodify_frame_parameters |
| 6945 | (selected_frame, Fcons (Fcons (Qtty_type, | 6945 | (selected_frame, Fcons (Fcons (Qtty_type, |
| 6946 | Ftty_type (selected_frame)), Qnil)); | 6946 | Ftty_type (selected_frame)), Qnil)); |
| 6947 | Fmodify_frame_parameters (selected_frame, Fcons (Fcons (Qtty, Qnil), Qnil)); | 6947 | if (t->display_info.tty->name) |
| 6948 | Fmodify_frame_parameters (selected_frame, | ||
| 6949 | Fcons (Fcons (Qtty, build_string (t->display_info.tty->name)), | ||
| 6950 | Qnil)); | ||
| 6951 | else | ||
| 6952 | Fmodify_frame_parameters (selected_frame, Fcons (Fcons (Qtty, Qnil), | ||
| 6953 | Qnil)); | ||
| 6948 | } | 6954 | } |
| 6949 | 6955 | ||
| 6950 | { | 6956 | { |