diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-07-25 20:27:17 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-07-25 22:31:00 +0200 |
commit | cd41ce8c6c107901a499bf55dd2b0383befd37af (patch) | |
tree | 2501ff3f80fc1cd13b374cc0e230f3c98364473f /test/lisp/files-resources/file-mode-multiple | |
parent | 280b8c96ccaeb95548adda78466ef2b1c3cf4546 (diff) | |
download | emacs-cd41ce8c6c107901a499bf55dd2b0383befd37af.tar.gz emacs-cd41ce8c6c107901a499bf55dd2b0383befd37af.tar.bz2 emacs-cd41ce8c6c107901a499bf55dd2b0383befd37af.zip |
Improvement for long lines in buffers with font locking.
* src/xdisp.c (get_narrowed_width): Factored out from 'get_narrowed_len'.
(get_narrowed_len): Updated to use 'get_narrowed_width'.
(get_closer_narrowed_begv): New function.
(SET_WITH_NARROWED_BEGV): Add parameter to the macro.
(back_to_previous_line_start): Use the new function.
(get_visually_first_element, move_it_vertically_backward): Update the
calls to the macro.
* src/dispextern.h: Prototype of 'get_closer_narrowed_begv'.
Fix the prototypes of 'get_narrowed_begv' and 'get_narrowed_zv'.
Diffstat (limited to 'test/lisp/files-resources/file-mode-multiple')
0 files changed, 0 insertions, 0 deletions