]> git.eshelyaron.com Git - emacs.git/commit
In 'replace-buffer-in-windows' try to preserve current buffer (Bug#75949)
authorMartin Rudalics <rudalics@gmx.at>
Fri, 31 Jan 2025 08:31:05 +0000 (09:31 +0100)
committerEshel Yaron <me@eshelyaron.com>
Mon, 3 Feb 2025 11:11:35 +0000 (12:11 +0100)
commit563423f341de8a17ada7dcae928caa2e8cd5323b
tree46a4995c03301ca0e8db0fddd4ffef73f77fe3c5
parentd967e9d0ad7097fdc51b44b40d1ef215cd93f464
In 'replace-buffer-in-windows' try to preserve current buffer (Bug#75949)

* lisp/window.el (replace-buffer-in-windows): Preserve current
buffer when 'kill-buffer-quit-windows' is non-nil and a window
showing BUFFER shall be quit.  Running 'kill-buffer-hook' relies
on it (Bug#75949).

(cherry picked from commit 4354cf73d7a5bdd18a5e5b385a06d9d140e8e472)
lisp/window.el