+2001-04-10 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/nnshimbun.el: Enclose w3m stuff with `eval-and-compile';
+ bind `w3m-work-buffer-name' and `w3m-retrieve' when compiling.
+
2001-04-09 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus-vers.el (gnus-revision-number): Increment to 10.
(eval-and-compile
(defalias-maybe 'coding-system-category 'get-code-mnemonic)))
-(if (and (ignore-errors (require 'w3m))
- (fboundp 'w3m-retrieve))
+(eval-when-compile
+ (defvar w3m-work-buffer-name)
+ (autoload 'w3m-retrieve "w3m"))
+(eval-and-compile
+ (if (and (ignore-errors (require 'w3m))
+ (fboundp 'w3m-retrieve))
;; When w3m.el is available.
(defun nnshimbun-retrieve-url (url &optional no-cache)
"Rertrieve URL contents and insert to current buffer."
(set-buffer buf)
(insert-buffer url-working-buffer)
(kill-buffer url-working-buffer)))
-)
+))
(deffoo nnshimbun-request-article (article &optional group server to-buffer)
(when (nnshimbun-possibly-change-group group server)