1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

xdisp.c (hscroll_window_tree): Sync comment with the code.

This commit is contained in:
Eli Zaretskii 2011-09-15 18:41:03 +03:00
parent cbb0f9ab98
commit 983a899097

View File

@ -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;