• Eli Zaretskii's avatar
    Fix 'vertical-motion' and 'posn-at-point' under 'visual-line-mode' · df4f8125
    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)
    
    This is backported from master
    (cherry picked from commit 99848b37)
    df4f8125
xdisp.c 990 KB