• Eli Zaretskii's avatar
    Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode' · 99848b37
    Eli Zaretskii authored
    * src/xdisp.c (move_it_in_display_line_to): Don't assume we can
    wrap on a whitespace character if it's followed by another
    whitespace character.  When returning under WORD_WRAP for a screen
    line that is continued, restore to wrap point when atpos/atx
    position would be displayed on the next screen line due to
    line-wrap.  (Bug#23570)
xdisp.c 989 KB