]> git.eshelyaron.com Git - emacs.git/commit
Use helper to get erc-networks--id symbol as string
authorF. Jason Park <jp@neverwas.me>
Thu, 14 Nov 2024 08:28:35 +0000 (00:28 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 20 Nov 2024 16:14:15 +0000 (17:14 +0100)
commit86d44ccf62f37c2bfc5436dbee2f146c98c726e8
treed23850f864ef72957e6634da6260d55e1d58707d
parenteae9bca2515d0b2bcc5f37819a31c9e92bef8ecc
Use helper to get erc-networks--id symbol as string

* lisp/erc/erc-networks.el (erc-networks--id-string): New function.
(erc-networks--construct-target-buffer-name)
(erc-networks--ensure-unique-server-buffer-name)
(erc-networks--rename-server-buffer): Use it.
* lisp/erc/erc-nicks.el (erc-nicks-list-faces): Use it.
* lisp/erc/erc-status-sidebar.el (erc-status-sidebar-pad-hierarchy): Use it.
* lisp/erc/erc.el (erc-generate-new-buffer-name)
(erc-log-irc-protocol)
(erc--auth-source-determine-params-defaults)
(erc-format-target-and/or-network): Use it.
* test/lisp/erc/erc-networks-tests.el (erc-networks--id-string): New test.

(cherry picked from commit 7fc048ca7781f9ba04d953f79fb29646c92cf35d)
lisp/erc/erc-networks.el
lisp/erc/erc-nicks.el
lisp/erc/erc-status-sidebar.el
lisp/erc/erc.el
test/lisp/erc/erc-networks-tests.el