summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-05-08 20:59:38 +0300
committerEli Zaretskii <eliz@gnu.org>2013-05-08 20:59:38 +0300
commit07525f7737602af36afe40f85f229fee9887f232 (patch)
tree4a3141cdbf5b0727e4abd0b33d121edb10cb348a /lisp/emacs-lisp
parent1d5963cc63979c4a19b5de3b9b537c1b3b61dda3 (diff)
downloademacs-07525f7737602af36afe40f85f229fee9887f232.tar.gz
emacs-07525f7737602af36afe40f85f229fee9887f232.tar.bz2
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 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions