]> git.eshelyaron.com Git - emacs.git/commitdiff
(realize_default_face): If the frame is not on window
authorKenichi Handa <handa@m17n.org>
Tue, 17 Jun 2008 04:50:11 +0000 (04:50 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 17 Jun 2008 04:50:11 +0000 (04:50 +0000)
system, set the fontset of face to nil.

src/ChangeLog
src/xfaces.c

index 0eebe5ce2905a776fee7c60dcf0aad0b93702695..6e66c7f4743dc4e607f76b8ac5c5fb04a8fe3e9f 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-17  Kenichi Handa  <handa@m17n.org>
+
+       * 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  <nao.aota@gmail.com>  (tiny change)
 
        * fontset.c (fontset_pattern_regexp): Escape some reg-expr
index 15d6e6bcbf6fe75c0f69085b4d65fd256c7e8cbc..fba5a3ba4f7421f6e5a5af4311df1dc47026472b 100644 (file)
@@ -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)))