From: Eli Zaretskii Date: Sun, 25 Aug 2024 18:43:59 +0000 (+0300) Subject: Revert a recent change that caused redisplay slowdown X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4768a7224c0a33631997cb8718124a7d322c8a9a;p=emacs.git 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 (bug#72692). (cherry picked from commit 9b299dd79c1627c7ad6b037d599a8e80a92573cd) --- diff --git a/src/xfaces.c b/src/xfaces.c index 34897817ffd..684b6ccfac7 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -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; } }