diff options
| author | Kenichi Handa | 2006-07-04 03:22:09 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2006-07-04 03:22:09 +0000 |
| commit | 997c19d3c9f948247ed3a247024623122b592f22 (patch) | |
| tree | 1d514ee31996838a441def241c27401a572109ee /src | |
| parent | d1208b8bfa29eb7086f9b3d5213a4623c15c29d7 (diff) | |
| download | emacs-997c19d3c9f948247ed3a247024623122b592f22.tar.gz emacs-997c19d3c9f948247ed3a247024623122b592f22.zip | |
(Fset_overriding_fontspec_internal): Check if we need
to update Voverriding_fontspec_alist.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fontset.c | 2 |
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 | |||
| 1621 | elt = Fcons (target, Fcons (Qnil, Fcons (Qnil, elt))); | 1621 | elt = Fcons (target, Fcons (Qnil, Fcons (Qnil, elt))); |
| 1622 | XSETCAR (tail, elt); | 1622 | XSETCAR (tail, elt); |
| 1623 | } | 1623 | } |
| 1624 | if (! NILP (Fequal (fontlist, Voverriding_fontspec_alist))) | ||
| 1625 | return Qnil; | ||
| 1624 | Voverriding_fontspec_alist = fontlist; | 1626 | Voverriding_fontspec_alist = fontlist; |
| 1625 | clear_face_cache (0); | 1627 | clear_face_cache (0); |
| 1626 | ++windows_or_buffers_changed; | 1628 | ++windows_or_buffers_changed; |