aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-05-14 01:27:09 +0000
committerKenichi Handa2008-05-14 01:27:09 +0000
commitf6204a24fa00b43fd986a62a7aa890ef697affb5 (patch)
tree28575899e9dfbc5d0b4d378fb59f096965001ee2
parent581f7ac78fa389e4669a736b00a443acd9b044ae (diff)
downloademacs-f6204a24fa00b43fd986a62a7aa890ef697affb5.tar.gz
emacs-f6204a24fa00b43fd986a62a7aa890ef697affb5.zip
(internal_equal): Handle PREV_FONT.
-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)
2207 if (WINDOW_CONFIGURATIONP (o1)) 2207 if (WINDOW_CONFIGURATIONP (o1))
2208 return compare_window_configurations (o1, o2, 0); 2208 return compare_window_configurations (o1, o2, 0);
2209 2209
2210 /* Aside from them, only true vectors, char-tables, and compiled 2210 /* Aside from them, only true vectors, char-tables, compiled
2211 functions are sensible to compare, so eliminate the others now. */ 2211 functions, and fonts (font-spec, font-entity, font-ojbect)
2212 are sensible to compare, so eliminate the others now. */
2212 if (size & PSEUDOVECTOR_FLAG) 2213 if (size & PSEUDOVECTOR_FLAG)
2213 { 2214 {
2214 if (!(size & (PVEC_COMPILED 2215 if (!(size & (PVEC_COMPILED
2215 | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE))) 2216 | PVEC_CHAR_TABLE | PVEC_SUB_CHAR_TABLE | PVEC_FONT)))
2216 return 0; 2217 return 0;
2217 size &= PSEUDOVECTOR_SIZE_MASK; 2218 size &= PSEUDOVECTOR_SIZE_MASK;
2218 } 2219 }