]> git.eshelyaron.com Git - emacs.git/commit
Actually accept non-symbols as IDs in erc-open
authorF. Jason Park <jp@neverwas.me>
Mon, 12 Dec 2022 03:41:43 +0000 (19:41 -0800)
committerF. Jason Park <jp@neverwas.me>
Wed, 14 Dec 2022 14:40:55 +0000 (06:40 -0800)
commit44b04c0ac1caef2283076d0784e0407940c14287
treef8f8067b363d87da479221fb85538a0242de33a3
parent75f26646d4a569cfb485de4baddcda66ff44b2c3
Actually accept non-symbols as IDs in erc-open

* lisp/erc/erc.el (erc-generate-new-buffer-name): Despite what it says
in the documentation, only symbols were being accepted as valid `:id'
entry-point arguments.  This uses the interned `princ' representation
of the argument instead.
* test/lisp/erc/erc-scenarios-base-netid-samenet.el
(erc-scenarios-common--base-network-id-same-network): Randomly specify
a string for the ID param instead of a non-nil symbol when opening a
new connection.
* test/lisp/erc/resources/erc-scenarios-common.el
(erc-scenarios-common-assert-initial-buf-name): Adjust helper to allow
for non-symbol IDs.  (Bug#59976.)
lisp/erc/erc.el
test/lisp/erc/erc-scenarios-base-netid-samenet.el
test/lisp/erc/resources/erc-scenarios-common.el