aboutsummaryrefslogtreecommitdiffstats
path: root/lib/malloc/scratch_buffer_set_array_size.c
diff options
context:
space:
mode:
authorJoão Távora2025-12-31 00:30:44 +0000
committerJoão Távora2025-12-31 00:44:01 +0000
commitee918cafda988872260c90a113ddc88610f47ae3 (patch)
tree40e6fcbaad096ebe84cff0833b983762cdea72cd /lib/malloc/scratch_buffer_set_array_size.c
parentaf32cba44906b13549a36118bf6e39510eede654 (diff)
downloademacs-ee918cafda988872260c90a113ddc88610f47ae3.tar.gz
emacs-ee918cafda988872260c90a113ddc88610f47ae3.zip
Flymake: try to resize margins less frequently
In particular, don't auto-resize in flymake-start if the current buffer already has suitable margins. Otherwise it's impossible to operate two windows showing the same buffer with different scrolls while using Flymake. Also, when attempting to restore margins, remember to actually apply them. * lisp/progmodes/flymake.el (flymake--original-margin-width) (flymake--suitably-fringed-p, flymake--bs-display) (flymake--restore-margins, flymake-restore-margins): Move to separate section. Rework. (flymake--suitable-margin-width, flymake--apply-margins) (flymake--appropriate-margin): New helpers.
Diffstat (limited to 'lib/malloc/scratch_buffer_set_array_size.c')
0 files changed, 0 insertions, 0 deletions