diff options
author | F. Moukayed <smfadi+emacs@gmail.com> | 2024-03-17 16:43:36 +0000 |
---|---|---|
committer | F. Jason Park <jp@neverwas.me> | 2024-03-23 15:10:32 -0700 |
commit | 525bc083155030b58de08c8716fec9db1496aa9d (patch) | |
tree | 04aab439f7af9142c617aa9282f89a4e71d6277e /test/lisp/emacs-lisp/lisp-mnt-tests.el | |
parent | 44be4fa8e652f08cad0cd6a85abcd54c691a7c27 (diff) | |
download | emacs-525bc083155030b58de08c8716fec9db1496aa9d.tar.gz emacs-525bc083155030b58de08c8716fec9db1496aa9d.tar.bz2 emacs-525bc083155030b58de08c8716fec9db1496aa9d.zip |
Remove mishandled erc-control-default-{fg,bg} faces
Partially revert those portions of 7b4ca9e609e "Leverage inverse-video
for erc-inverse-face" that introduced and managed explicit faces for
the "default" 99 color code.
* lisp/erc/erc-goodies.el (erc-control-default-fg)
(erc-control-default-bg): Remove unused faces originally meant to be
new in ERC 5.6.
(erc-get-fg-color-face, erc-get-bg-color-face): Return nil for n=99.
(erc-controls-interpret, erc-controls-highlight): Preserve an
interval's existing background so "if only the foreground color is
set, the background color stays the same," as explained by
https://modern.ircdocs.horse/formatting#color. (Bug#69860)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'test/lisp/emacs-lisp/lisp-mnt-tests.el')
0 files changed, 0 insertions, 0 deletions