]> git.eshelyaron.com Git - emacs.git/commitdiff
(internal_equal): Handle PREV_FONT.
authorKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:27:09 +0000 (01:27 +0000)
committerKenichi Handa <handa@m17n.org>
Wed, 14 May 2008 01:27:09 +0000 (01:27 +0000)
src/fns.c

index e89fbbc2801966dab34bff93d4ea8f791e6c5e75..1f6208dc5485f3c0f1b9d8081c2b23073e1228f6 100644 (file)
--- 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;
          }