emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105784: xdisp.c (hscroll_window_tree


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105784: xdisp.c (hscroll_window_tree): Sync comment with the code.
Date: Thu, 15 Sep 2011 18:41:03 +0300
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105784
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Thu 2011-09-15 18:41:03 +0300
message:
  xdisp.c (hscroll_window_tree): Sync comment with the code.
modified:
  src/xdisp.c
=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2011-09-14 21:45:51 +0000
+++ b/src/xdisp.c       2011-09-15 15:41:03 +0000
@@ -11916,9 +11916,9 @@
                }
              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;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]