diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-11-26 14:09:41 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-11-26 15:10:17 +0100 |
commit | 558084c7f736bebcb3cffc2bf4f617158d92357f (patch) | |
tree | 5e05c5a457fe09073321b6b6543f1bbc00e766ed /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el | |
parent | 16b8b0d1e07d394e01f76d9eed6006219b4d745b (diff) | |
download | emacs-558084c7f736bebcb3cffc2bf4f617158d92357f.tar.gz emacs-558084c7f736bebcb3cffc2bf4f617158d92357f.tar.bz2 emacs-558084c7f736bebcb3cffc2bf4f617158d92357f.zip |
Improve locked narrowing around low-level hooks.
* src/buffer.c (syms_of_buffer): Two new variables,
'long-line-locked-narrowing-region-size' and
'long-line-locked-narrowing-bol-search-limit', to make the locked
narrowing around low-level hooks configurable.
Increase the default value of 'long-line-threshold'. After
carefully considering the (few) bug reports about long line
optimizations, I concluded that the previous default value was too
low.
* src/xdisp.c (get_locked_narrowing_begv)
(get_locked_narrowing_zv): Two new functions.
(handle_fontified_prop, reseat): Use them.
* src/keyboard.c (safe_run_hooks_maybe_narrowed): Use them.
* src/dispextern.h (struct it): Add two new fields to store the
values returned by these functions.
Make them externally visible.
* src/editfns.c: (Fsave_restriction): Update docstring.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-nonvariable.el')
0 files changed, 0 insertions, 0 deletions