aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChong Yidong2009-06-27 21:27:51 +0000
committerChong Yidong2009-06-27 21:27:51 +0000
commit4189ed40b8f6e0e1c355ca871233d8993c764a07 (patch)
tree1e3f6538825bb8f658ce317f3a5900cf230f6df5 /src
parente8a2b2da68a192c4e85b4330ad3c6fce569bdb50 (diff)
downloademacs-4189ed40b8f6e0e1c355ca871233d8993c764a07.tar.gz
emacs-4189ed40b8f6e0e1c355ca871233d8993c764a07.zip
* term.c (turn_on_face): Allow simultaneously bold and dim
terminal faces (Bug#3530).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/term.c17
2 files changed, 10 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d0130c73474..d359d25e4c4 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12009-06-27 Chuck Blake <cblake@pdos.csail.mit.edu> (tiny change)
2
3 * term.c (turn_on_face): Allow simultaneously bold and dim
4 terminal faces (Bug#3530).
5
12009-06-27 Chong Yidong <cyd@stupidchicken.com> 62009-06-27 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * frame.c (x_get_arg): Check if dpyinfo is non-NULL. 8 * frame.c (x_get_arg): Check if dpyinfo is non-NULL.
diff --git a/src/term.c b/src/term.c
index f9875f8bc06..3f97a74cbd6 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1969,14 +1969,11 @@ turn_on_face (f, face_id)
1969 } 1969 }
1970 } 1970 }
1971 1971
1972 if (face->tty_bold_p) 1972 if (face->tty_bold_p && MAY_USE_WITH_COLORS_P (tty, NC_BOLD))
1973 { 1973 OUTPUT1_IF (tty, tty->TS_enter_bold_mode);
1974 if (MAY_USE_WITH_COLORS_P (tty, NC_BOLD)) 1974
1975 OUTPUT1_IF (tty, tty->TS_enter_bold_mode); 1975 if (face->tty_dim_p && MAY_USE_WITH_COLORS_P (tty, NC_DIM))
1976 } 1976 OUTPUT1_IF (tty, tty->TS_enter_dim_mode);
1977 else if (face->tty_dim_p)
1978 if (MAY_USE_WITH_COLORS_P (tty, NC_DIM))
1979 OUTPUT1_IF (tty, tty->TS_enter_dim_mode);
1980 1977
1981 /* Alternate charset and blinking not yet used. */ 1978 /* Alternate charset and blinking not yet used. */
1982 if (face->tty_alt_charset_p 1979 if (face->tty_alt_charset_p
@@ -3722,10 +3719,6 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
3722 "Screen size %dx%d is too small", 3719 "Screen size %dx%d is too small",
3723 FrameCols (tty), FrameRows (tty)); 3720 FrameCols (tty), FrameRows (tty));
3724 3721
3725#if 0 /* This is not used anywhere. */
3726 tty->terminal->min_padding_speed = tgetnum ("pb");
3727#endif
3728
3729 TabWidth (tty) = tgetnum ("tw"); 3722 TabWidth (tty) = tgetnum ("tw");
3730 3723
3731 if (!tty->TS_bell) 3724 if (!tty->TS_bell)