]> git.eshelyaron.com Git - emacs.git/commit
ERC: Track: Fix a perceived minor bug in mode line face selection
authorOlivier Certner <olce.emacs@certner.fr>
Thu, 14 Jan 2021 17:36:08 +0000 (18:36 +0100)
committerAmin Bandali <bandali@gnu.org>
Sun, 12 Sep 2021 05:12:59 +0000 (01:12 -0400)
commit291bcb5973230c36f9cec6f9fa91b553d944ccd2
treec3226f413d4b9813ff5a4d97e93680bafd8bb38c
parent3df279aae2a1f0c8dc5acee59dd48840f6695866
ERC: Track: Fix a perceived minor bug in mode line face selection

* lisp/erc/erc-track.el (erc-track-modified-channels): Fix what is a
probable bug when a new insert event happens for a buffer that was not
tracked or for which no mode line face was selected: in this case,
stop treating the latest buffer's face (first in list) as the previous
one, which could be overridden with an older one (in FACES' rest), as
if it had happened after.
lisp/erc/erc-track.el