diff options
| author | Eli Zaretskii | 2013-05-08 20:59:38 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-05-08 20:59:38 +0300 |
| commit | 07525f7737602af36afe40f85f229fee9887f232 (patch) | |
| tree | 4a3141cdbf5b0727e4abd0b33d121edb10cb348a /src/ChangeLog | |
| parent | 1d5963cc63979c4a19b5de3b9b537c1b3b61dda3 (diff) | |
| download | emacs-07525f7737602af36afe40f85f229fee9887f232.tar.gz emacs-07525f7737602af36afe40f85f229fee9887f232.zip | |
Fix vertical cursor motion when there's a display string with newline at EOL.
src/xdisp.c (row_for_charpos_p): New function, with code of
cursor_row_p, but accepts an additional argument CHARPOS instead
of using a hardcoded PT.
(cursor_row_p): Call row_for_charpos_p with 2nd argument PT.
(row_containing_pos): Call row_for_charpos_p instead of partially
doing the same. Fixes cursor positioning under longlines-mode
when longlines-show-effect includes more than one newline, when
moving the cursor vertically up.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 64b76af0b85..c8e2abf3bec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,14 @@ | |||
| 1 | 2013-05-08 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * xdisp.c (row_for_charpos_p): New function, with code of | ||
| 4 | cursor_row_p, but accepts an additional argument CHARPOS instead | ||
| 5 | of using a hardcoded PT. | ||
| 6 | (cursor_row_p): Call row_for_charpos_p with 2nd argument PT. | ||
| 7 | (row_containing_pos): Call row_for_charpos_p instead of partially | ||
| 8 | doing the same. Fixes cursor positioning under longlines-mode | ||
| 9 | when longlines-show-effect includes more than one newline, when | ||
| 10 | moving the cursor vertically up. | ||
| 11 | |||
| 1 | 2013-05-08 Juanma Barranquero <lekktu@gmail.com> | 12 | 2013-05-08 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 13 | ||
| 3 | * makefile.w32-in (ACL_H): New macro. | 14 | * makefile.w32-in (ACL_H): New macro. |