From: Kenichi Handa Date: Mon, 13 May 2002 12:09:57 +0000 (+0000) Subject: (free_realized_fontsets): Call Fclear_face_cache instead X-Git-Tag: emacs-pretest-23.0.90~8295^2~1864^2~903 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27e20b2f0591536559b4f8dff5d684f2a27d1f76;p=emacs.git (free_realized_fontsets): Call Fclear_face_cache instead of calling free_reazlied_face. --- diff --git a/src/fontset.c b/src/fontset.c index 842aad5d6cf..2caa087c33b 100644 --- a/src/fontset.c +++ b/src/fontset.c @@ -756,6 +756,11 @@ free_realized_fontsets (base) { int id; +#if 0 + /* For the moment, this doesn't work because free_realized_face + doesn't remove FACE from a cache. Until we find a solution, we + suppress this code, and simply use Fclear_face_cache even though + that is not efficient. */ BLOCK_INPUT; for (id = 0; id < ASIZE (Vfontset_table); id++) { @@ -778,6 +783,9 @@ free_realized_fontsets (base) } } UNBLOCK_INPUT; +#else /* not 0 */ + Fclear_face_cache (Qt); +#endif /* not 0 */ }