From 9b299dd79c1627c7ad6b037d599a8e80a92573cd Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sun, 25 Aug 2024 21:43:59 +0300 Subject: [PATCH] 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). --- src/xfaces.c | 5 ----- 1 file changed, 5 deletions(-) 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; } }