diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-08-02 18:27:33 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-08-02 18:27:33 +0300 |
commit | a07ec21bf24b8d1dc41808f997dd0fb78cad3870 (patch) | |
tree | 6b40d82e3e2335537e57d92408aad7b215058b51 /test/lisp/emacs-lisp | |
parent | 2e9d1f4d44036e7c0605cfeac091368e013e3ed9 (diff) | |
download | emacs-a07ec21bf24b8d1dc41808f997dd0fb78cad3870.tar.gz emacs-a07ec21bf24b8d1dc41808f997dd0fb78cad3870.tar.bz2 emacs-a07ec21bf24b8d1dc41808f997dd0fb78cad3870.zip |
Re-enable scroll-margin when cursor-motion optimization is disabled
* src/xdisp.c (try_window): Fix logic of disabling margins when
cursor is close to BOB or EOB. Account for header-line, if any,
when computing the scroll margin in pixels. (Bug#42653)
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions