2010-10-05 Katsumi Yamaoka <yamaoka@jpl.org>
+ * gnus-html.el: Don't require help-fns under XEmacs.
+ (gnus-html-schedule-image-fetching): Work for XEmacs.
+
* mm-decode.el (mm-shr): Decode contents by charset.
2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
(require 'url-cache)
(require 'xml)
(require 'browse-url)
-(require 'help-fns)
+(eval-and-compile (unless (featurep 'xemacs) (require 'help-fns)))
(defcustom gnus-html-image-cache-ttl (days-to-time 7)
"Time used to determine if we should use images from the cache."
(let ((args (list (car image)
'gnus-html-image-fetched
(list buffer image))))
- (when (> (length (help-function-arglist 'url-retrieve)) 4)
+ (when (> (length (if (featurep 'xemacs)
+ (split-string (function-arglist 'url-retrieve))
+ (help-function-arglist 'url-retrieve)))
+ 4)
(setq args (nconc args (list t))))
(apply #'url-retrieve args)))