aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorEli Zaretskii2017-05-31 19:01:31 +0300
committerEli Zaretskii2017-05-31 19:01:31 +0300
commit140ddc321be96c03ef234a12c56cef97a078fc07 (patch)
tree96ea84c5cdcc8cfb9be7036bd30e702c62a736fb /lib-src
parenta415c8bccb917c247792c4ce8e77b2512b3414d6 (diff)
downloademacs-140ddc321be96c03ef234a12c56cef97a078fc07.tar.gz
emacs-140ddc321be96c03ef234a12c56cef97a078fc07.zip
Support lower bound on hscrolling when only current line scrolls
* doc/emacs/display.texi (Horizontal Scrolling): Document the new mode of auto-hscrolling only the current line. * src/xdisp.c (init_iterator): When hscrolling only the current line, apply the window's min_hscroll here, so that non-current lines will be hscrolled by that minimum. Suggested by Stephen Berman <stephen.berman@gmx.net>. (hscroll_window_tree): Account for window's min_hscroll when deciding whether to recompute the hscroll. (display_line): Subtract window's min_hscroll from x_incr, as that was already accounted for in init_iterator. (Bug#27008)
Diffstat (limited to 'lib-src')
0 files changed, 0 insertions, 0 deletions