(september "#bf9900" "#ffcc00"))
"Color alist used for the Gnus logo.")
+(defcustom gnus-logo-colors nil
+ "Colors used for the Gnus logo."
+ :set-after '(gnus-logo-color-style)
+ :type '(list color color)
+ :group 'gnus-xmas)
+
(defcustom gnus-logo-color-style 'ma
"Color styles used for the Gnus logo."
:type `(choice ,@(mapcar (lambda (elem) (list 'const (car elem)))
gnus-logo-color-alist))
+ :set (lambda (sym val)
+ (set-default-toplevel-value sym val)
+ (set-default-toplevel-value 'gnus-logo-colors
+ (cdr (assq val gnus-logo-color-alist))))
:group 'gnus-xmas)
-(defvar gnus-logo-colors
- (cdr (assq gnus-logo-color-style gnus-logo-color-alist))
- "Colors used for the Gnus logo.")
-
(defvar image-load-path)
(declare-function image-size "image.c" (spec &optional pixels frame))