emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-26 070e82b: ; * src/window.c (window_scroll): Improv


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 070e82b: ; * src/window.c (window_scroll): Improve commentary.
Date: Mon, 19 Nov 2018 13:36:08 -0500 (EST)

branch: emacs-26
commit 070e82b96bfadb5a3622607a8c5c97c127ec62db
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    ; * src/window.c (window_scroll): Improve commentary.
---
 src/window.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/window.c b/src/window.c
index 9cde2c5..5d99098 100644
--- a/src/window.c
+++ b/src/window.c
@@ -4977,8 +4977,8 @@ window_scroll (Lisp_Object window, EMACS_INT n, bool 
whole, bool noerror)
   if (whole && Vfast_but_imprecise_scrolling)
     specbind (Qfontification_functions, Qnil);
 
-  /* If we must, use the pixel-based version which is much slower than
-     the line-based one but can handle varying line heights.  */
+  /* On GUI frames, use the pixel-based version which is much slower
+     than the line-based one but can handle varying line heights.  */
   if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame)))
     window_scroll_pixel_based (window, n, whole, noerror);
   else



reply via email to

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