[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ability to disable alternating face in erc-nicks
From: |
Trevor Arjeski |
Subject: |
Re: Ability to disable alternating face in erc-nicks |
Date: |
Fri, 04 Oct 2024 11:13:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Trevor Arjeski <tmarjeski@gmail.com> writes:
Well, per usual, to make myself look like a complete fool, I immediately
found a hackfix after sending my last email.
modified erc-track.el
@@ -944,7 +944,7 @@ NEW-FACES has a cdr."
(or (and erc-track--alt-normals-function
(funcall erc-track--alt-normals-function
cur-face choice new-faces normals))
- (and (equal choice cur-face)
+ (and (not (equal choice cur-face))
(gethash choice normals)
(catch 'face
(progn
Simply adding that 'not' and setting `erc-nicks-track-faces t' (to not
override `erc-track--alt-normals-function' but still use nick colors)
seems to sort of do what I want.
Would still be nice to have an actual config to toggle this though!