summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-05-14 01:27:09 +0000
committerKenichi Handa <handa@m17n.org>2008-05-14 01:27:09 +0000
commitf6204a24fa00b43fd986a62a7aa890ef697affb5 (patch)
tree28575899e9dfbc5d0b4d378fb59f096965001ee2 /src
parent581f7ac78fa389e4669a736b00a443acd9b044ae (diff)
downloademacs-f6204a24fa00b43fd986a62a7aa890ef697affb5.tar.gz
(internal_equal): Handle PREV_FONT.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index e89fbbc2801..1f6208dc548 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2207,12 +2207,13 @@ internal_equal (o1, o2, depth, props)
if (WINDOW_CONFIGURATIONP (o1))
return compare_window_configurations (o1, o2, 0);
- /* Aside from them, only true vectors, char-tables, and compiled
- functions are sensible to compare, so eliminate the others now. */
+ /* Aside from them, only true vectors, char-tables, compiled
+ functions, and fonts (font-spec, font-entity, font-ojbect)
+ are sensible to compare, so eliminate the others now. */
if (size & PSEUDOVECTOR_FLAG)
{
if (!(size & (PVEC_COMPILED
- | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE)))
+ | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE | PVEC_FONT)))
return 0;
size &= PSEUDOVECTOR_SIZE_MASK;
}