* nnshimbun.el (nnshimbun-retrieve-url): Check if `url-current-mime-charset'
authoryamaoka <yamaoka>
Tue, 6 Mar 2001 01:31:09 +0000 (01:31 +0000)
committeryamaoka <yamaoka>
Tue, 6 Mar 2001 01:31:09 +0000 (01:31 +0000)
 is bound.

ChangeLog
lisp/nnshimbun.el

index 047a746..df83f1e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-06  Katsumi Yamaoka <yamaoka@jpl.org>
+
+       * lisp/nnshimbun.el (nnshimbun-retrieve-url): Check if
+       `url-current-mime-charset' is bound.
+
 2001-03-04  Katsumi Yamaoka <yamaoka@jpl.org>
 
        * lisp/gnus.el (gnus-info-find-node): Pretend to be
index 893bdfa..9331f37 100644 (file)
@@ -338,7 +338,8 @@ for a charset indication")
        (setq-default url-automatic-caching old-caching)
        (setq-default url-standalone-mode old-mode)))
     (let ((charset
-          (or url-current-mime-charset
+          (or (and (boundp 'url-current-mime-charset)
+                   (symbol-value 'url-current-mime-charset))
               (let ((case-fold-search t))
                 (goto-char (point-min))
                 (if (or (re-search-forward