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/coding.h | |
| 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/coding.h')
0 files changed, 0 insertions, 0 deletions