Mercurial > emacs
diff src/fontset.c @ 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 | 3bd95f4f2941 |
| children | 6ee41fdd69ff b19aaf4ab0ee |
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;
