aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorEli Zaretskii2021-05-04 20:37:33 +0300
committerEli Zaretskii2021-05-04 20:37:33 +0300
commitc36df52ff5c05826382d88ddbe3fffaa99d12597 (patch)
treeeb58322a7fa29fd6f8bb7735983bceef8d89e4db /src/coding.c
parent0c993ed1d3af6320a8aec6e94c0537bc62948701 (diff)
downloademacs-c36df52ff5c05826382d88ddbe3fffaa99d12597.tar.gz
emacs-c36df52ff5c05826382d88ddbe3fffaa99d12597.zip
Fix infloop in lsp-mode
* src/indent.c (line_number_display_width): Make sure the selected window's buffer is current before using display code on it: redisplay assumes that the window's buffer is current at all times. Reported by Evgeny Kurnevsky via lsp-mode's issue 1621, https://github.com/emacs-lsp/lsp-mode/issues/1621.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions