]> git.eshelyaron.com Git - emacs.git/commit
Fix regression in erc-nicks involving color pools
authorF. Jason Park <jp@neverwas.me>
Mon, 6 Jan 2025 00:58:50 +0000 (16:58 -0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 Jan 2025 08:58:20 +0000 (09:58 +0100)
commit160753c4251df51050c5db81c1c7da26312b74bf
treee8486ba27f1395d31303cb67d3a58f0ce263ec50
parentf181466634e87254d81d161ff8b81996d8d16d8e
Fix regression in erc-nicks involving color pools

* lisp/erc/erc-nicks.el (erc-nicks-colors): Tweak doc.
(erc-nicks--create-pool-function): On graphic displays, set value to
`erc-nicks--create-culled-pool', the original default.  This fixes a bug
in which ERC mapped all pool members to a primary color, thus excluding
the bulk of them.  Thanks to Trevor Arjeski for discovering it.
(erc-nicks--create-coerced-pool): Mention the text-terminal-only
requirement in doc.
(erc-nicks-refresh): Improve doc.
* test/lisp/erc/erc-nicks-tests.el (erc-nicks-tests--track-faces):
Enable `erc-track-mode' prior to running body.

(cherry picked from commit c266c22b418541714889e85831de93c10a3c3fde)
lisp/erc/erc-nicks.el
test/lisp/erc/erc-nicks-tests.el