aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa2000-03-30 01:12:14 +0000
committerKenichi Handa2000-03-30 01:12:14 +0000
commitd2ff77dab1e5cb6393a57eb43f208c3377ecbf13 (patch)
treef4d1e983bdc25e5bc99e7f788203200310635e22 /src
parent6702eacee0f6cbd77e46b5aea9779ef3c7296677 (diff)
downloademacs-d2ff77dab1e5cb6393a57eb43f208c3377ecbf13.tar.gz
emacs-d2ff77dab1e5cb6393a57eb43f208c3377ecbf13.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/xfaces.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index a0172ccda4b..e0a4ca193df 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -4864,13 +4864,7 @@ uncache_face (c, face)
4864 of frame F. The face will be used to display character C. Value 4864 of frame F. The face will be used to display character C. Value
4865 is the ID of the face found. If no suitable face is found, realize 4865 is the ID of the face found. If no suitable face is found, realize
4866 a new one. In that case, if C is a multibyte character, BASE_FACE 4866 a new one. In that case, if C is a multibyte character, BASE_FACE
4867 is a face for ASCII characters that has the same attributes. 4867 is a face for ASCII characters that has the same attributes. */
4868
4869 When this function is called from face_for_char (in this case, C is
4870 a multibyte character), a fontset of a face returned by
4871 realize_face is not yet set, i.e. FACE_SUITABLE_FOR_CHAR_P (FACE,
4872 C) is not sutisfied. The fontset is set for this face by
4873 face_for_char later. */
4874 4868
4875INLINE int 4869INLINE int
4876lookup_face (f, attr, c, base_face) 4870lookup_face (f, attr, c, base_face)
@@ -4904,6 +4898,12 @@ lookup_face (f, attr, c, base_face)
4904 4898
4905#if GLYPH_DEBUG 4899#if GLYPH_DEBUG
4906 xassert (face == FACE_FROM_ID (f, face->id)); 4900 xassert (face == FACE_FROM_ID (f, face->id));
4901
4902/* When this function is called from face_for_char (in this case, C is
4903 a multibyte character), a fontset of a face returned by
4904 realize_face is not yet set, i.e. FACE_SUITABLE_FOR_CHAR_P (FACE,
4905 C) is not sutisfied. The fontset is set for this face by
4906 face_for_char later. */
4907#if 0 4907#if 0
4908 if (FRAME_WINDOW_P (f)) 4908 if (FRAME_WINDOW_P (f))
4909 xassert (FACE_SUITABLE_FOR_CHAR_P (face, c)); 4909 xassert (FACE_SUITABLE_FOR_CHAR_P (face, c));