From 997c19d3c9f948247ed3a247024623122b592f22 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 4 Jul 2006 03:22:09 +0000 Subject: [PATCH] (Fset_overriding_fontspec_internal): Check if we need to update Voverriding_fontspec_alist. --- src/fontset.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2