From 70d6ecc654a345dd495a722eda68fb0f94f64472 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 17 Jun 2008 04:50:11 +0000 Subject: [PATCH] (realize_default_face): If the frame is not on window system, set the fontset of face to nil. --- src/ChangeLog | 5 +++++ src/xfaces.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 0eebe5ce290..6e66c7f4743 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-06-17 Kenichi Handa + + * 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 (tiny change) * fontset.c (fontset_pattern_regexp): Escape some reg-expr diff --git a/src/xfaces.c b/src/xfaces.c index 15d6e6bcbf6..fba5a3ba4f7 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))) -- 2.39.2