From: Eli Zaretskii Date: Thu, 15 Sep 2011 15:41:03 +0000 (+0300) Subject: xdisp.c (hscroll_window_tree): Sync comment with the code. X-Git-Tag: emacs-pretest-24.0.90~104^2~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=983a899097fbdfde89fbad97a1487e76d6ad237d;p=emacs.git xdisp.c (hscroll_window_tree): Sync comment with the code. --- 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;