Commit 997c19d3 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fset_overriding_fontspec_internal): Check if we need

to update Voverriding_fontspec_alist.
parent d1208b8b
...@@ -1621,6 +1621,8 @@ It is intended that this function is called only from ...@@ -1621,6 +1621,8 @@ It is intended that this function is called only from
elt = Fcons (target, Fcons (Qnil, Fcons (Qnil, elt))); elt = Fcons (target, Fcons (Qnil, Fcons (Qnil, elt)));
XSETCAR (tail, elt); XSETCAR (tail, elt);
} }
if (! NILP (Fequal (fontlist, Voverriding_fontspec_alist)))
return Qnil;
Voverriding_fontspec_alist = fontlist; Voverriding_fontspec_alist = fontlist;
clear_face_cache (0); clear_face_cache (0);
++windows_or_buffers_changed; ++windows_or_buffers_changed;
......
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