From 983a899097fbdfde89fbad97a1487e76d6ad237d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 15 Sep 2011 18:41:03 +0300 Subject: [PATCH] xdisp.c (hscroll_window_tree): Sync comment with the code. --- src/xdisp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index 8adc83b5068..1ccaa0641b0 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -11916,9 +11916,9 @@ hscroll_window_tree (Lisp_Object window) } hscroll = max (hscroll, XFASTINT (w->min_hscroll)); - /* Don't call Fset_window_hscroll if value hasn't - changed because it will prevent redisplay - optimizations. */ + /* Don't will prevent redisplay optimizations if hscroll + hasn't changed, as it will unnecessarily slow down + redisplay. */ if (XFASTINT (w->hscroll) != hscroll) { XBUFFER (w->buffer)->prevent_redisplay_optimizations_p = 1; -- 2.39.2