Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4189ed40
Commit
4189ed40
authored
Jun 27, 2009
by
Chong Yidong
Browse files
* term.c (turn_on_face): Allow simultaneously bold and dim
terminal faces (Bug#3530).
parent
e8a2b2da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
12 deletions
+10
-12
src/ChangeLog
src/ChangeLog
+5
-0
src/term.c
src/term.c
+5
-12
No files found.
src/ChangeLog
View file @
4189ed40
2009-06-27 Chuck Blake <cblake@pdos.csail.mit.edu> (tiny change)
* term.c (turn_on_face): Allow simultaneously bold and dim
terminal faces (Bug#3530).
2009-06-27 Chong Yidong <cyd@stupidchicken.com>
* frame.c (x_get_arg): Check if dpyinfo is non-NULL.
...
...
src/term.c
View file @
4189ed40
...
...
@@ -1969,14 +1969,11 @@ turn_on_face (f, face_id)
}
}
if (face->tty_bold_p)
{
if (MAY_USE_WITH_COLORS_P (tty, NC_BOLD))
OUTPUT1_IF (tty, tty->TS_enter_bold_mode);
}
else if (face->tty_dim_p)
if (MAY_USE_WITH_COLORS_P (tty, NC_DIM))
OUTPUT1_IF (tty, tty->TS_enter_dim_mode);
if (face->tty_bold_p && MAY_USE_WITH_COLORS_P (tty, NC_BOLD))
OUTPUT1_IF (tty, tty->TS_enter_bold_mode);
if (face->tty_dim_p && MAY_USE_WITH_COLORS_P (tty, NC_DIM))
OUTPUT1_IF (tty, tty->TS_enter_dim_mode);
/* Alternate charset and blinking not yet used. */
if (face->tty_alt_charset_p
...
...
@@ -3722,10 +3719,6 @@ to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.",
"Screen size %dx%d is too small",
FrameCols (tty), FrameRows (tty));
#if 0 /* This is not used anywhere. */
tty->terminal->min_padding_speed = tgetnum ("pb");
#endif
TabWidth (tty) = tgetnum ("tw");
if (!tty->TS_bell)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment