diff options
author | Gregory Heytings <gregory@heytings.org> | 2023-04-01 14:14:45 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2023-04-01 16:17:05 +0200 |
commit | dce08cf05ccd2551d2e304e868605102233f8c40 (patch) | |
tree | 5fb516e828aa350a38f4c67056fdc09817741d81 /test/lisp/emacs-lisp/float-sup-tests.el | |
parent | 2093e010dc14148455480d607b2f06ee43b1e6e0 (diff) | |
download | emacs-dce08cf05ccd2551d2e304e868605102233f8c40.tar.gz emacs-dce08cf05ccd2551d2e304e868605102233f8c40.tar.bz2 emacs-dce08cf05ccd2551d2e304e868605102233f8c40.zip |
Improve and fix last changes
* src/xdisp.c (get_narrowed_width): Use WINDOW_RIGHT_FRINGE_WIDTH,
which works both for character-only terminals and for GUI frames
without fringes.
(get_nearby_bol_pos): Instead of searching for BOL in
[pos-500000..pos], gradually extend the region, starting with
[pos-500..pos]. This is much faster in buffers with some long
lines in the middle of lots of short lines.
Diffstat (limited to 'test/lisp/emacs-lisp/float-sup-tests.el')
0 files changed, 0 insertions, 0 deletions