gnus-html.el: Replace process-kill-without-query by gnus-set-process-query-on-exit...
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 17 Sep 2010 06:23:30 +0000 (06:23 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 17 Sep 2010 06:23:30 +0000 (06:23 +0000)
lisp/ChangeLog
lisp/dgnushack.el
lisp/gnus-html.el
lisp/lpath.el

index a04b88d..82aaed8 100644 (file)
@@ -1,3 +1,13 @@
+2010-09-17  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * dgnushack.el (dgnushack-compile): Add comment.
+
+       * lpath.el: No need to fbind propertize for XEmacs 21.4.
+
+       * gnus-html.el (gnus-html-schedule-image-fetching)
+       (gnus-html-prefetch-images): Replace process-kill-without-query by
+       gnus-set-process-query-on-exit-flag.
+
 2010-09-16  Romain Francoise  <romain@orebokech.com>
 
        * gnus-html.el: Require gnus-art for `gnus-with-article-buffer'.
index a008d11..8252fb1 100644 (file)
@@ -308,15 +308,14 @@ dgnushack-compile."
   (unless warn
     (setq byte-compile-warnings
          '(free-vars unresolved callargs redefine)))
-  (let ((files (delete ".dir-locals.el"
-                      (directory-files srcdir nil "^[^=].*\\.el$")))
+  (let ((files (directory-files srcdir nil "^[^=].*\\.el$"))
        ;;(byte-compile-generate-call-tree t)
        file elc)
     ;; Avoid barfing (from gnus-xmas) because the etc directory is not yet
     ;; installed.
     (when (featurep 'xemacs)
       (setq gnus-xmas-glyph-directory "dummy"))
-    (dolist (file '("dgnushack.el" "lpath.el"))
+    (dolist (file '(".dir-locals.el" "dgnushack.el" "lpath.el"))
       (setq files (delete file files)))
     (when (featurep 'base64)
       (setq files (delete "base64.el" files)))
@@ -327,6 +326,8 @@ dgnushack-compile."
        (dolist (file '("webmail.el" "nnwfm.el"))
         (setq files (delete file files)))))
     (condition-case code
+       ;; Under XEmacs 21.4 this loads easy-mmode.elc that provides
+       ;; the Emacs functions `propertize' and `replace-regexp-in-string'.
        (require 'mh-e)
       (error
        (message "No mh-e: %s %s" (cadr code) (or (locate-library "mh-e") ""))
index dec8c50..c390ae0 100644 (file)
@@ -299,7 +299,7 @@ fit these criteria."
                     "--max-time" "60"
                     "-o" (gnus-html-image-id url)
                     (mm-url-decode-entities-string url))))
-      (process-kill-without-query process)
+      (gnus-set-process-query-on-exit-flag process nil)
       (set-process-sentinel process 'gnus-html-curl-sentinel)
       (gnus-set-process-plist process (list 'images images
                                            'buffer buffer)))))
@@ -463,7 +463,7 @@ This only works if the article in question is HTML."
                      "--location"
                      "--max-time" "60"
                      urls)))
-         (process-kill-without-query process))))))
+         (gnus-set-process-query-on-exit-flag process nil))))))
 
 (provide 'gnus-html)
 
index 1eb3540..b2aa91c 100644 (file)
      '(header-line-format
        scroll-margin timer-list)))
 
-  (when (and (= emacs-major-version 21) (= emacs-minor-version 4))
-    (maybe-fbind
-     '(propertize)))
-
   (unless (featurep 'mule)
     (maybe-fbind
      '(ccl-execute-on-string