]> git.eshelyaron.com Git - emacs.git/commit
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)
committerEshel Yaron <me@eshelyaron.com>
Wed, 4 Sep 2024 07:51:25 +0000 (09:51 +0200)
commit246985b3e7165080ea8197c5432908b3ba0715cf
treeb9916c7f2e8c02ea695e066ae63e8e3589b370b2
parent9b74dbaddc00c97ea0b85aa246008453dcb394aa
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.

(cherry picked from commit 25f537216682eecedf3905c4e005f02be007ed9c)
src/minibuf.c
src/window.c