aboutsummaryrefslogtreecommitdiffstats
path: root/src/keymap.c
diff options
context:
space:
mode:
authorEli Zaretskii2013-07-02 18:52:07 +0300
committerEli Zaretskii2013-07-02 18:52:07 +0300
commitbcffb5caf88767615b86aea7372b56c29dadfbc9 (patch)
tree5882a42a26625c8af75fbc50642b04ff5380f8d1 /src/keymap.c
parent2c41e781945c57d170b41205a4af3acefa5cc85c (diff)
downloademacs-bcffb5caf88767615b86aea7372b56c29dadfbc9.tar.gz
emacs-bcffb5caf88767615b86aea7372b56c29dadfbc9.zip
Fix bug #2749 with overflow-newline-into-fringe in visual-line-mode.
src/xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Don't disallow word-wrap, so that overflow-newline-into-fringe would work in visual-line-mode. (move_it_in_display_line_to): When the last scanned display element fits exactly on the display line, and overflow-newline-into-fringe is non-nil, but wrap_it is valid, don't return MOVE_NEWLINE_OR_CR, but instead back up to the last wrap point and return MOVE_LINE_CONTINUED. Fixes problems with finding buffer position that corresponds to pixel coordinates, e.g. in buffer_posn_from_coords.
Diffstat (limited to 'src/keymap.c')
0 files changed, 0 insertions, 0 deletions