diff options
author | Kenichi Handa <[email protected]> | 2008-06-17 04:50:11 +0000 |
---|---|---|
committer | Kenichi Handa <[email protected]> | 2008-06-17 04:50:11 +0000 |
commit | 70d6ecc654a345dd495a722eda68fb0f94f64472 (patch) | |
tree | 356848e6f71f3634ff073d3b3551b2a81d628f48 /src | |
parent | c1473b4cfeb477ced05d457868c5e1eb97a58eb0 (diff) |
(realize_default_face): If the frame is not on window
system, set the fontset of face to nil.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/xfaces.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0eebe5ce29..6e66c7f474 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-06-17 Kenichi Handa <[email protected]> + + * xfaces.c (realize_default_face): If the frame is not on window + system, set the fontset of face to nil. + 2008-06-17 Naohiro Aota <[email protected]> (tiny change) * fontset.c (fontset_pattern_regexp): Escape some reg-expr diff --git a/src/xfaces.c b/src/xfaces.c index 15d6e6bcbf..fba5a3ba4f 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5587,6 +5587,8 @@ realize_default_face (f) LFACE_WEIGHT (lface) = Qnormal; if (UNSPECIFIEDP (LFACE_SLANT (lface))) LFACE_SLANT (lface) = Qnormal; + if (UNSPECIFIEDP (LFACE_FONTSET (lface))) + LFACE_FONTSET (lface) = Qnil; } if (UNSPECIFIEDP (LFACE_UNDERLINE (lface))) |