]> git.eshelyaron.com Git - emacs.git/commit
Fix 'end-of-visual-line' with overlay strings with newlines
authorEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2019 10:17:47 +0000 (12:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 2 Mar 2019 10:17:47 +0000 (12:17 +0200)
commitdbffbe08815644fd30404891ef81496277ed27da
treef6f572e9445143813327bf8f97c9b1acea967ac0
parent2028756fa3db8dc266c0abbf4ecb672ab5348e71
Fix 'end-of-visual-line' with overlay strings with newlines

* src/indent.c (Fvertical_motion): Get out of overlay strings
with embedded newlines even if moving within the same screen
line.  See https://github.com/emacs-lsp/lsp-mode/issues/677
for more details.
Fix test for IT_CHARPOS being at the beginning of the
accessible portion of the buffer.
src/indent.c