1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Revert a recent change that caused redisplay slowdown

* src/xfaces.c (recompute_basic_faces): Revert the change which
caused recalculation of all the faces, as it made cursor motion
too slow.  Reported by Juri Linkov <juri@linkov.net> (bug#72692).
This commit is contained in:
Eli Zaretskii 2024-08-25 21:43:59 +03:00
parent 4eaab54896
commit 9b299dd79c

View File

@ -736,11 +736,6 @@ recompute_basic_faces (struct frame *f)
clear_face_cache (false);
if (!realize_basic_faces (f))
emacs_abort ();
/* Force complete face recalculation next time we use the display
code, because realize_basic_faces could free the fontset used
by non-ASCII faces corresponding to ASCII faces of the basic
faces, and attempt to use that fontset might segfault. */
f->face_change = true;
}
}