From: Kenichi Handa Date: Wed, 15 Dec 1999 00:22:26 +0000 (+0000) Subject: (Frecenter): Clear all caches of compositions. X-Git-Tag: emacs-pretest-21.0.90~5735 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f02d6d5cbbff57ab7985cb055ca98ac842d9de36;p=emacs.git (Frecenter): Clear all caches of compositions. --- diff --git a/src/window.c b/src/window.c index 0d7cc27b39d..5ea0fde563f 100644 --- a/src/window.c +++ b/src/window.c @@ -4156,6 +4156,11 @@ redraws with point in the center of the current window.") if (NILP (arg)) { extern int frame_garbaged; + int i; + + /* Invalidate pixel data calculated for all compositions. */ + for (i = 0; i < n_compositions; i++) + composition_table[i]->font = NULL; Fredraw_frame (w->frame); SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w)));