]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix defcustom :type of gnus-logo-colors
authorStefan Kangas <stefankangas@gmail.com>
Thu, 13 Feb 2025 08:25:12 +0000 (09:25 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 13 Feb 2025 11:53:23 +0000 (12:53 +0100)
* lisp/gnus/gnus.el (gnus-logo-colors): Fix defcustom :type.

(cherry picked from commit 2dad63cac31cfb9dc1dbb003f93fd4768c15082b)

lisp/gnus/gnus.el

index 091a389cefbe88159323c0252eaee13016a0cdf0..f267e2e33008b7eb192fc758806bbc2d8459b4a8 100644 (file)
@@ -760,7 +760,8 @@ be used directly.")
 (defcustom gnus-logo-colors nil
   "Colors used for the Gnus logo."
   :set-after '(gnus-logo-color-style)
-  :type '(list color color)
+  :type '(choice (const :tag "Use default" nil)
+                 (list color color))
   :group 'gnus-xmas)
 
 (defcustom gnus-logo-color-style 'ma