aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2010-10-05 03:48:30 +0000
committerKatsumi Yamaoka2010-10-05 03:48:30 +0000
commit9c6194000c246fb4d6e2aa4772bdfc64b720a886 (patch)
tree4e12464409ed5d50d4fafcfdfd5b7fafcb9f44eb
parent888328d21bccff8c7acba9f2d1dce31c3e2ad572 (diff)
downloademacs-9c6194000c246fb4d6e2aa4772bdfc64b720a886.tar.gz
emacs-9c6194000c246fb4d6e2aa4772bdfc64b720a886.zip
gnus-html.el (gnus-html-schedule-image-fetching): Work for XEmacs.
-rw-r--r--lisp/gnus/ChangeLog3
-rw-r--r--lisp/gnus/gnus-html.el7
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 96e0cc20f9e..75f806c3a5c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,8 @@
12010-10-05 Katsumi Yamaoka <yamaoka@jpl.org> 12010-10-05 Katsumi Yamaoka <yamaoka@jpl.org>
2 2
3 * gnus-html.el: Don't require help-fns under XEmacs.
4 (gnus-html-schedule-image-fetching): Work for XEmacs.
5
3 * mm-decode.el (mm-shr): Decode contents by charset. 6 * mm-decode.el (mm-shr): Decode contents by charset.
4 7
52010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org> 82010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
diff --git a/lisp/gnus/gnus-html.el b/lisp/gnus/gnus-html.el
index d0414e78601..3ae3766ed62 100644
--- a/lisp/gnus/gnus-html.el
+++ b/lisp/gnus/gnus-html.el
@@ -37,7 +37,7 @@
37(require 'url-cache) 37(require 'url-cache)
38(require 'xml) 38(require 'xml)
39(require 'browse-url) 39(require 'browse-url)
40(require 'help-fns) 40(eval-and-compile (unless (featurep 'xemacs) (require 'help-fns)))
41 41
42(defcustom gnus-html-image-cache-ttl (days-to-time 7) 42(defcustom gnus-html-image-cache-ttl (days-to-time 7)
43 "Time used to determine if we should use images from the cache." 43 "Time used to determine if we should use images from the cache."
@@ -367,7 +367,10 @@ Use ALT-TEXT for the image string."
367 (let ((args (list (car image) 367 (let ((args (list (car image)
368 'gnus-html-image-fetched 368 'gnus-html-image-fetched
369 (list buffer image)))) 369 (list buffer image))))
370 (when (> (length (help-function-arglist 'url-retrieve)) 4) 370 (when (> (length (if (featurep 'xemacs)
371 (split-string (function-arglist 'url-retrieve))
372 (help-function-arglist 'url-retrieve)))
373 4)
371 (setq args (nconc args (list t)))) 374 (setq args (nconc args (list t))))
372 (apply #'url-retrieve args))) 375 (apply #'url-retrieve args)))
373 376