diff options
| -rw-r--r-- | src/xdisp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 5d687e1c291..597b12d4d68 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 | |||
| 10233 | 10233 | ||
| 10234 | /* Move iterator IT backward by a specified y-distance DY, DY >= 0. | 10234 | /* Move iterator IT backward by a specified y-distance DY, DY >= 0. |
| 10235 | 10235 | ||
| 10236 | If DY > 0, move IT backward at least that many pixels. DY = 0 | 10236 | If DY > 0, move IT backward that many pixels. |
| 10237 | means move IT backward to the preceding line start or BEGV. This | 10237 | DY = 0 means move IT backward to the preceding line start or to BEGV. |
| 10238 | function may move over more than DY pixels if IT->current_y - DY | 10238 | This function may move over less or more than DY pixels if |
| 10239 | ends up in the middle of a line; in this case IT->current_y will be | 10239 | IT->current_y - DY ends up in the middle of a line; in this case |
| 10240 | set to the top of the line moved to. */ | 10240 | IT->current_y will be set to the top of the line either before or |
| 10241 | after the exact pixel coordinate. */ | ||
| 10241 | 10242 | ||
| 10242 | void | 10243 | void |
| 10243 | move_it_vertically_backward (struct it *it, int dy) | 10244 | move_it_vertically_backward (struct it *it, int dy) |