summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2006-07-04 03:22:09 +0000
committerKenichi Handa <handa@m17n.org>2006-07-04 03:22:09 +0000
commit997c19d3c9f948247ed3a247024623122b592f22 (patch)
tree1d514ee31996838a441def241c27401a572109ee
parentd1208b8bfa29eb7086f9b3d5213a4623c15c29d7 (diff)
downloademacs-997c19d3c9f948247ed3a247024623122b592f22.tar.gz
(Fset_overriding_fontspec_internal): Check if we need
to update Voverriding_fontspec_alist.
-rw-r--r--src/fontset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fontset.c b/src/fontset.c
index 62ff3542b90..c8679a7b7e2 100644
--- a/src/fontset.c
+++ b/src/fontset.c
@@ -1621,6 +1621,8 @@ It is intended that this function is called only from
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;