use `if' instead of `when'.
:group 'picons)
(defcustom gnus-picons-file-suffixes
- (when (featurep 'x)
- (let ((types (list "xbm")))
- (when (featurep 'gif)
- (push "gif" types))
- (when (featurep 'xpm)
- (push "xpm" types))
- types))
+ (if (featurep 'x)
+ (let ((types (list "xbm")))
+ (if (featurep 'gif)
+ (setq types (cons "gif" types)))
+ (if (featurep 'xpm)
+ (setq types (cons "xpm" types)))
+ types))
"*List of suffixes on picon file names to try."
:type '(repeat string)
:group 'picons)