image is not available if window-system is not available.
* gnus-sum.el (gnus-summary-display-make-predicate): Add unread.
+2002-02-12 ShengHuo ZHU <zsh@cs.rochester.edu>
+
+ * gnus-xmas.el (gnus-xmas-image-type-available-p): Assume that
+ image is not available if window-system is not available.
+
+ * gnus-sum.el (gnus-summary-display-make-predicate): Add unread.
+
2002-02-11 ShengHuo ZHU <zsh@cs.rochester.edu>
* gnus.el (gnus-article-unpropagated-mark-lists): Don't propagate
(when (= (length display) 1)
(setq display (car display)))
(unless gnus-summary-display-cache
- (dolist (elem (append (list (cons 'read 'read)
- (cons 'unseen 'unseen))
+ (dolist (elem (append '((unread . unread)
+ (unseen . unseen))
gnus-article-mark-lists))
(push (cons (cdr elem)
(gnus-byte-compile
gnus-mailing-list-menu))
(defun gnus-xmas-image-type-available-p (type)
- (when (eq type 'pbm)
- (setq type 'xbm))
- (featurep type))
+ (and window-system
+ (featurep (if (eq type 'pmb) 'xbm type))))
(defun gnus-xmas-create-image (file &optional type data-p &rest props)
(let ((type (if type