Avoid putting a dead buffer in the minibuffer window (Bug#72487)
authorMartin Rudalics <rudalics@gmx.at>
Fri, 23 Aug 2024 08:27:12 +0000 (10:27 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 23 Aug 2024 08:27:12 +0000 (10:27 +0200)
commit25f537216682eecedf3905c4e005f02be007ed9c
tree8fc3f4511dc9e9f28f0e14328b21182a2484e100
parentcfcba7ddc41b84f108809bdd8d7201c181fd62ab
Avoid putting a dead buffer in the minibuffer window (Bug#72487)

* src/minibuf.c (minibuffer_unwind): Make sure that the buffer
referenced by the first element of the list of previous buffers
of the minibuffer window is live before assigning it to the
minibuffer window (Bug#72487).
* src/window.c (set_window_buffer): Assert that BUFFER is live.
src/minibuf.c
src/window.c