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:
parent
cbb0f9ab98
commit
983a899097
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user