]> git.eshelyaron.com Git - emacs.git/commit
Fix `quit-restore-window' when all previous buffers got killed (Bug#48367)
authorpillule <pillule@riseup.net>
Sat, 15 May 2021 08:47:07 +0000 (10:47 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Sat, 15 May 2021 08:47:07 +0000 (10:47 +0200)
commit0a681590268a4039f95a5a919b6b6d4f4e880d4c
tree1f5c42f43d2f3f640619c11eeb26b051de828bb7
parentb00796ee36bb2ecc9a853ef97e4b7f8174e4e3b8
Fix `quit-restore-window' when all previous buffers got killed (Bug#48367)

* lisp/window.el (quit-restore-window): Simplify calculation of
WINDOW's previous buffer.  Avoid that killing WINDOW's previous
buffers results in a state where `quit-window' has no more
effect, by simply deleting WINDOW in that case (Bug#48367).

Copyright-paperwork-exempt: yes
lisp/window.el