+2003-03-18 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * gnus-sum.el (gnus-summary-highlight-line-0): Silence the byte-
+ compiler under XEmacs.
+
2003-03-18 Jesper Harder <harder@ifa.au.dk>
* gnus-art.el (gnus-treat-highlight-signature): Make the default
(setcdr c (cons (list (caar list) (list 'quote (cdar list))) nil))
(setq c (cdr c)
list (cdr list)))
- (gnus-byte-compile (list 'lambda nil cond))))))
+ (let ((byte-compile-warnings
+ ;; Since XEmacs version of bytecomp complains about
+ ;; the unbound variables because of `globally-boundp'
+ ;; even if they are bound by `let', we silence it.
+ (if (and (boundp 'byte-compile-default-warnings) ;; XEmacs
+ (listp (symbol-value
+ 'byte-compile-default-warnings)))
+ (delq 'free-vars
+ (copy-sequence (symbol-value
+ 'byte-compile-default-warnings)))
+ byte-compile-warnings)))
+ (gnus-byte-compile (list 'lambda nil cond)))))))
(defun gnus-summary-highlight-line ()
"Highlight current line according to `gnus-summary-highlight'."