]> git.eshelyaron.com Git - emacs.git/commit
A better fix for bug#60096
authorEli Zaretskii <eliz@gnu.org>
Fri, 16 Dec 2022 14:29:51 +0000 (16:29 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 16 Dec 2022 14:29:51 +0000 (16:29 +0200)
commit89f54e81576d9d9e35b67e7c5831495c4bb444c5
treeb9782b823780065473c9b5660e6f8c3ea4554c17
parent1b9ca1e5e646cdd678f0d29ef5e833c8ff2298c5
A better fix for bug#60096

* lisp/startup.el (initial-scratch-message):
* lisp/simple.el (get-scratch-buffer-create): Revert last changes.

* src/window.c (Fset_window_configuration): Force recalculation of
Vwindow_list after restoring the windows.
* src/buffer.c (other_buffer_safely): Make sure we always return a
valid buffer, even if 'get-scratch-buffer-create' signals an
error.
lisp/simple.el
lisp/startup.el
src/buffer.c
src/window.c