Commit c36df52f authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

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.
parent 0c993ed1
Pipeline #10632 failed with stages
in 44 minutes and 13 seconds