diff options
author | F. Jason Park <jp@neverwas.me> | 2023-11-25 19:23:55 -0800 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2023-11-26 14:25:27 -0800 |
commit | 2407f810136739da376ff0929b247a49dc196299 (patch) | |
tree | 3475b93b1548bb75631adaaf11c6c289b1873729 /lisp/emacs-lisp | |
parent | 01e7178917743470d05a5b1a5d883d07191e3014 (diff) | |
download | emacs-2407f810136739da376ff0929b247a49dc196299.tar.gz emacs-2407f810136739da376ff0929b247a49dc196299.tar.bz2 emacs-2407f810136739da376ff0929b247a49dc196299.zip |
Restore prompt correctly when reconnecting in ERC
* lisp/erc/erc.el (erc--initialize-markers): Commit 0d6c8d41ab7 "Use
overlay instead of text prop to hide ERC's prompt" introduced a bug
that caused the prompt to remain hidden upon reconnecting because the
stashed overlay would get clobbered by ERC's major-mode setup.
Binding its old value while unhiding fixes the issue.
* test/lisp/erc/erc-tests.el (erc-hide-prompt): Don't permanently set
the default value of `erc-hide-prompt'.
* test/lisp/erc/resources/erc-scenarios-common.el
(erc-scenarios-common--join-network-id): Add assertions for prompt
hiding and unhiding on reconnect. (Bug#51082)
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions