]> git.eshelyaron.com Git - emacs.git/commit
Fix regression in erc-keep-place-indicator-mode
authorF. Jason Park <jp@neverwas.me>
Sun, 31 Dec 2023 01:09:17 +0000 (17:09 -0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Jan 2024 07:57:57 +0000 (08:57 +0100)
commit9371fde43747985ee4f743f7cf1aab125f17fc4b
treef9650054f84d6b8120fd10f9b011f0b3454e824e
parent72fa1e3adf48b17dd835c105b2ec70079dd9529f
Fix regression in erc-keep-place-indicator-mode

* lisp/erc/erc-goodies.el (erc-keep-place): Revert portion of
65735efdca0 "Improve multi-window erc-keep-place-indicator-mode" that
skipped modifying `window-prev-buffers' when the indicator's minor
mode was enabled.
* test/lisp/erc/erc-scenarios-keep-place-indicator.el: Modify test to
assert that point's place is preserved after switching away from a
buffer with the indicator enabled.
* test/lisp/erc/resources/keep-place/follow.eld: Update.
This feature was originally introduced by bug#59943.

(cherry picked from commit 4eda77ed335f982460f818ae1b8619cbd32ba77d)
lisp/erc/erc-goodies.el
test/lisp/erc/erc-scenarios-keep-place-indicator.el
test/lisp/erc/resources/keep-place/follow.eld