]> git.eshelyaron.com Git - emacs.git/commit
ERC: Track: Rewrite 'erc-track-find-face' as 'erc-track-select-mode-line-face'
authorOlivier Certner <olce.emacs@certner.fr>
Thu, 14 Jan 2021 17:26:38 +0000 (18:26 +0100)
committerAmin Bandali <bandali@gnu.org>
Sun, 12 Sep 2021 05:05:38 +0000 (01:05 -0400)
commit3df279aae2a1f0c8dc5acee59dd48840f6695866
treef2e4abb07c89144bddcd572a5784e7d280ded348
parente4b7fa05001ef48db28a77e1343ffb196de39609
ERC: Track: Rewrite 'erc-track-find-face' as 'erc-track-select-mode-line-face'

* lisp/erc/erc-track.el (erc-track-find-face): Declare obsolete and
rewrite as 'erc-track-select-mode-line-face', changing the function
arguments, so that it is very clear what the current algorithm is.
No functional changes.  Performance improvements.  Clarify the
documentation and remove the part on some faces being lists, which
clearly does not apply.
(erc-track-modified-channels): Replace calls to 'erc-track-find-face'
with calls to 'erc-track-select-mode-line-face', preserving the
existing behavior.
(erc-modified-channels-alist): Change the reference to
'erc-track-select-mode-line-face' in the documentation following the
rename.
* etc/NEWS: Announce the change.

Co-authored-by: Amin Bandali <bandali@gnu.org>
etc/NEWS
lisp/erc/erc-track.el