Commit f6204a24 authored by Kenichi Handa's avatar Kenichi Handa

(internal_equal): Handle PREV_FONT.

parent 581f7ac7
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment