diff options
author | F. Jason Park <jp@neverwas.me> | 2023-12-30 17:09:17 -0800 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2023-12-31 06:56:32 -0800 |
commit | 4eda77ed335f982460f818ae1b8619cbd32ba77d (patch) | |
tree | 7ff10e095e6ffd0af9d13a110790302d1faf5d9d /test/lisp/erc/resources | |
parent | 91f316d293150c6d025c61949c24fc07136fb1fd (diff) | |
download | emacs-4eda77ed335f982460f818ae1b8619cbd32ba77d.tar.gz emacs-4eda77ed335f982460f818ae1b8619cbd32ba77d.tar.bz2 emacs-4eda77ed335f982460f818ae1b8619cbd32ba77d.zip |
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.
Diffstat (limited to 'test/lisp/erc/resources')
-rw-r--r-- | test/lisp/erc/resources/keep-place/follow.eld | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/lisp/erc/resources/keep-place/follow.eld b/test/lisp/erc/resources/keep-place/follow.eld index e857c17175d..db9352d93be 100644 --- a/test/lisp/erc/resources/keep-place/follow.eld +++ b/test/lisp/erc/resources/keep-place/follow.eld @@ -71,3 +71,8 @@ (0.03 ":bob!~u@2q6ysndq32az6.irc PRIVMSG #chan :alice: No egma, no riddle, no l'envoy; no salve in the mail, sir. O! sir, plantain, a plain plantain: no l'envoy, no l'envoy: no salve, sir, but a plantain.") (0.03 ":alice!~u@2q6ysndq32az6.irc PRIVMSG #chan :Signior Iachimo will not from it. Pray, let us follow 'em.")) + +((privmsg 10 "PRIVMSG #spam :three") + ;; Third check point. + (0.01 ":bob!~u@2q6ysndq32az6.irc PRIVMSG #spam :Moved.") + (0.01 ":bob!~u@2q6ysndq32az6.irc PRIVMSG #chan :Ready.")) |