mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-09 13:40:50 +00:00
; * src/window.c (window_scroll): Improve commentary.
This commit is contained in:
parent
60457d7ae0
commit
070e82b96b
1 changed files with 2 additions and 2 deletions
|
@ -4977,8 +4977,8 @@ window_scroll (Lisp_Object window, EMACS_INT n, bool whole, bool noerror)
|
||||||
if (whole && Vfast_but_imprecise_scrolling)
|
if (whole && Vfast_but_imprecise_scrolling)
|
||||||
specbind (Qfontification_functions, Qnil);
|
specbind (Qfontification_functions, Qnil);
|
||||||
|
|
||||||
/* If we must, use the pixel-based version which is much slower than
|
/* On GUI frames, use the pixel-based version which is much slower
|
||||||
the line-based one but can handle varying line heights. */
|
than the line-based one but can handle varying line heights. */
|
||||||
if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame)))
|
if (FRAME_WINDOW_P (XFRAME (XWINDOW (window)->frame)))
|
||||||
window_scroll_pixel_based (window, n, whole, noerror);
|
window_scroll_pixel_based (window, n, whole, noerror);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue