changeset 71605:5ae0c66d4176

(Fset_overriding_fontspec_internal): Check if we need to update Voverriding_fontspec_alist.
author Kenichi Handa <handa@m17n.org>
date Tue, 04 Jul 2006 03:22:09 +0000
parents 801b0f932405
children 5aa535ebb24a
files src/fontset.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fontset.c	Tue Jul 04 01:16:51 2006 +0000
+++ b/src/fontset.c	Tue Jul 04 03:22:09 2006 +0000
@@ -1621,6 +1621,8 @@
       elt = Fcons (target, Fcons (Qnil, Fcons (Qnil, elt)));
       XSETCAR (tail, elt);
     }
+  if (! NILP (Fequal (fontlist, Voverriding_fontspec_alist)))
+    return Qnil;
   Voverriding_fontspec_alist = fontlist;
   clear_face_cache (0);
   ++windows_or_buffers_changed;