emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 cea8dee: ; * src/xdisp.c (move_it_vertically_backward): Clarify


From: Eli Zaretskii
Subject: emacs-28 cea8dee: ; * src/xdisp.c (move_it_vertically_backward): Clarify commentary.
Date: Mon, 13 Dec 2021 14:03:16 -0500 (EST)

branch: emacs-28
commit cea8deea7288efd15880dc035dccfb8d9866dff8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/xdisp.c (move_it_vertically_backward): Clarify commentary.
---
 src/xdisp.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/xdisp.c b/src/xdisp.c
index 5d687e1..597b12d 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -10233,11 +10233,12 @@ move_it_to (struct it *it, ptrdiff_t to_charpos, int 
to_x, int to_y, int to_vpos
 
 /* Move iterator IT backward by a specified y-distance DY, DY >= 0.
 
-   If DY > 0, move IT backward at least that many pixels.  DY = 0
-   means move IT backward to the preceding line start or BEGV.  This
-   function may move over more than DY pixels if IT->current_y - DY
-   ends up in the middle of a line; in this case IT->current_y will be
-   set to the top of the line moved to.  */
+   If DY > 0, move IT backward that many pixels.
+   DY = 0 means move IT backward to the preceding line start or to BEGV.
+   This function may move over less or more than DY pixels if
+   IT->current_y - DY ends up in the middle of a line; in this case
+   IT->current_y will be set to the top of the line either before or
+   after the exact pixel coordinate.  */
 
 void
 move_it_vertically_backward (struct it *it, int dy)



reply via email to

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