]> git.eshelyaron.com Git - emacs.git/commit
Fix Gnus logo color customization
authorTrevor Arjeski <tmarjeski@gmail.com>
Wed, 27 Nov 2024 07:12:07 +0000 (10:12 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Feb 2025 10:52:28 +0000 (11:52 +0100)
commitf5e712a4369c2e198a051e8b8713f1012f1ccc89
tree8a3c90a4cc62a8fca1ccfe9d48eb136349981fc2
parent397d7ab205790d2ca501cb506acb8c6283f692d8
Fix Gnus logo color customization

Fix a bug where customizing `gnus-logo-color-style' from use-package's
:custom keyword did not set `gnus-logo-colors' before Gnus is launched.

This patch does the following:
- Implements a :set keyword on `gnus-logo-color-style' which will
  correctly set `gnus-logo-colors'
- Exposes `gnus-logo-colors' using `defcustom' for more fine-grained
  customization
- Uses :set-after on `gnus-logo-colors' so that it is set after
  `gnus-logo-color-style'

* lisp/gnus/gnus.el (gnus-logo-colors): Convert to defcustom.
(gnus-logo-color-style): Add :set property.  (Bug#74554)

(cherry picked from commit 77d0078a6c50c95b63ac7c3739ee325264deff34)
lisp/gnus/gnus.el