aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2018-11-19 20:35:28 +0200
committerEli Zaretskii2018-11-19 20:35:28 +0200
commit070e82b96bfadb5a3622607a8c5c97c127ec62db (patch)
tree46eccd6d79eadeb1fbc05b1e750b19b3bd51ab59 /src
parent60457d7ae0cc560115d3e8c83bb308f015e7088d (diff)
downloademacs-070e82b96bfadb5a3622607a8c5c97c127ec62db.tar.gz
emacs-070e82b96bfadb5a3622607a8c5c97c127ec62db.zip
; * src/window.c (window_scroll): Improve commentary.
Diffstat (limited to 'src')
-rw-r--r--src/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c
index 9cde2c5ecc4..5d99098cba1 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)
4977 if (whole && Vfast_but_imprecise_scrolling) 4977 if (whole && Vfast_but_imprecise_scrolling)
4978 specbind (Qfontification_functions, Qnil); 4978 specbind (Qfontification_functions, Qnil);
4979 4979
4980 /* If we must, use the pixel-based version which is much slower than 4980 /* On GUI frames, use the pixel-based version which is much slower
4981 the line-based one but can handle varying line heights. */ 4981 than the line-based one but can handle varying line heights. */
4982 if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame))) 4982 if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame)))
4983 window_scroll_pixel_based (window, n, whole, noerror); 4983 window_scroll_pixel_based (window, n, whole, noerror);
4984 else 4984 else