]> git.eshelyaron.com Git - emacs.git/commit
Add display option for interactive ERC invocations
authorF. Jason Park <jp@neverwas.me>
Thu, 29 Dec 2022 14:43:19 +0000 (06:43 -0800)
committerF. Jason Park <jp@neverwas.me>
Sat, 8 Apr 2023 21:23:51 +0000 (14:23 -0700)
commit3a012d1db24d613814296139c98324df1d7ef71f
treef63c78d11ace80629053ef0ec6d3c879f315d0be
parent0f7fc5cfdf97a8280ea8f012e50af9e615e8c6ef
Add display option for interactive ERC invocations

* lisp/erc/erc.el (erc-buffer-display, erc-receive-query-display):
Add aliases for `erc-join-buffer' and `erc-auto-query'.
(erc-interactive-display): Add new option to control display of server
buffers during interactive entry-point invocations.
(erc-select-read-args): Pass `erc-interactive-display' to entry
points.
* test/lisp/erc/erc-tests.el (erc-select-read-args): Expect
buffer-display values from `erc-interactive-display'.
(erc-tls, erc--interactive): Also check `erc-join-buffer' in
environment when `erc-open' called.  (Bug#60428.)
lisp/erc/erc.el
test/lisp/erc/erc-tests.el