aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAnonymous2010-09-11 14:53:21 +0200
committerStefan Monnier2010-09-11 14:53:21 +0200
commit65b3d997c854ed75f4557617faeea2e79fc14aac (patch)
treedc3f25aa96c094150e38e3ef87ef5cf3d97f3cdf /src
parent6f6dc4da1dcfd84900feeb63b84abc0a5e8799ea (diff)
downloademacs-65b3d997c854ed75f4557617faeea2e79fc14aac.tar.gz
emacs-65b3d997c854ed75f4557617faeea2e79fc14aac.zip
* src/term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog24
-rw-r--r--src/term.c1
2 files changed, 14 insertions, 11 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f46e02b9193..ec6ddac10cb 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-09-11 Anonymous <emacs-bugs-7626@cbane.org> (tiny change)
2
3 * term.c (tty_set_terminal_modes): Don't initialize twice (bug#7002).
4
12010-09-08 Kenichi Handa <handa@m17n.org> 52010-09-08 Kenichi Handa <handa@m17n.org>
2 6
3 * coding.c (encode_coding_iso_2022): Don't optimize for ASCII if 7 * coding.c (encode_coding_iso_2022): Don't optimize for ASCII if
@@ -14,8 +18,8 @@
14 characters. 18 characters.
15 19
16 * term.c (encode_terminal_code): Fix the previous change. 20 * term.c (encode_terminal_code): Fix the previous change.
17 (produce_glyphs): Don't set it->char_to_display here. Don't 21 (produce_glyphs): Don't set it->char_to_display here.
18 handle unibyte-display-via-language-environment here. 22 Don't handle unibyte-display-via-language-environment here.
19 (produce_special_glyphs): Set temp_it.char_to_display before 23 (produce_special_glyphs): Set temp_it.char_to_display before
20 calling produce_glyphs. 24 calling produce_glyphs.
21 25
@@ -34,8 +38,8 @@
34 (produce_stretch_glyph): Set it2.char_to_display too before 38 (produce_stretch_glyph): Set it2.char_to_display too before
35 calling x_produce_glyphs. 39 calling x_produce_glyphs.
36 (x_produce_glyphs): Simplify by using the same code for ASCII and 40 (x_produce_glyphs): Simplify by using the same code for ASCII and
37 non-ASCII characters. Don't set it->char_to_display here. Don't 41 non-ASCII characters. Don't set it->char_to_display here.
38 handle unibyte-display-via-language-environment here. For a 42 Don't handle unibyte-display-via-language-environment here. For a
39 charater of no glyph, use font->space_width instead of FONT_WIDTH. 43 charater of no glyph, use font->space_width instead of FONT_WIDTH.
40 44
412010-08-29 Kenichi Handa <handa@m17n.org> 452010-08-29 Kenichi Handa <handa@m17n.org>
@@ -64,8 +68,8 @@
64 68
652010-08-09 Peter O'Gorman <pogma@thewrittenword.com> (tiny change) 692010-08-09 Peter O'Gorman <pogma@thewrittenword.com> (tiny change)
66 70
67 * s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK): New 71 * s/hpux10-20.h (HAVE_TERMIOS, NO_TERMIO, ORDINARY_LINK):
68 definitions. 72 New definitions.
69 (HAVE_TERMIO): Remove. 73 (HAVE_TERMIO): Remove.
70 74
712010-08-06 Kenichi Handa <handa@m17n.org> 752010-08-06 Kenichi Handa <handa@m17n.org>
@@ -301,16 +305,16 @@
301 305
302 * ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the 306 * ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the
303 new feature of libotf and m17n-flt. 307 new feature of libotf and m17n-flt.
304 (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]: Call 308 (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]:
305 OTF_check_features even if no specific feature is given. 309 Call OTF_check_features even if no specific feature is given.
306 (PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro. 310 (PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro.
307 (ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case 311 (ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case
308 that OUT is NULL. Use OTF_drive_gsub_with_log and 312 that OUT is NULL. Use OTF_drive_gsub_with_log and
309 OTF_drive_gpos_with_log instead of OTF_drive_gsub and 313 OTF_drive_gpos_with_log instead of OTF_drive_gsub and
310 OTF_drive_gpos. 314 OTF_drive_gpos.
311 (ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function. 315 (ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function.
312 (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]: Setup 316 (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]:
313 mflt_enable_new_feature and mflt_try_otf. 317 Setup mflt_enable_new_feature and mflt_try_otf.
314 318
3152010-04-19 Juanma Barranquero <lekktu@gmail.com> 3192010-04-19 Juanma Barranquero <lekktu@gmail.com>
316 320
diff --git a/src/term.c b/src/term.c
index b67d93f5b5b..78bf77d9d71 100644
--- a/src/term.c
+++ b/src/term.c
@@ -250,7 +250,6 @@ tty_set_terminal_modes (struct terminal *terminal)
250 cmputc ('\n'); 250 cmputc ('\n');
251 } 251 }
252 252
253 OUTPUT_IF (tty, tty->TS_termcap_modes);
254 OUTPUT_IF (tty, visible_cursor ? tty->TS_cursor_visible : tty->TS_cursor_normal); 253 OUTPUT_IF (tty, visible_cursor ? tty->TS_cursor_visible : tty->TS_cursor_normal);
255 OUTPUT_IF (tty, tty->TS_keypad_mode); 254 OUTPUT_IF (tty, tty->TS_keypad_mode);
256 losecursor (tty); 255 losecursor (tty);