From: yamaoka Date: Fri, 27 Aug 2004 11:28:58 +0000 (+0000) Subject: * gnus.el: Don't autoload x-face-e21. X-Git-Tag: t-gnus-6_17_4-quimby-~790 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61bac8e02db3b302e7ae4edb87193ad349ff799b;p=elisp%2Fgnus.git- * gnus.el: Don't autoload x-face-e21. * gnus-art.el (gnus-article-x-face-command): Discard x-face-e21. (gnus-article-x-face-command): Ditto. (gnus-treat-display-x-face): Ditto. (gnus-treat-display-face): Ditto. --- diff --git a/ChangeLog b/ChangeLog index 0b4a91b..4a9545f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2004-08-27 Katsumi Yamaoka + + * lisp/gnus.el: Don't autoload x-face-e21. + + * lisp/gnus-art.el (gnus-article-x-face-command): Discard + x-face-e21. + (gnus-article-x-face-command): Ditto. + (gnus-treat-display-x-face): Ditto. + (gnus-treat-display-face): Ditto. + 2004-08-02 TAKAHASHI Kaoru * texi/ptexinfmt.el (slanted): Rename @s to @slanted. diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index ea4600b..95b1ade 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -271,9 +271,6 @@ This can also be a list of the above values." (gnus-image-type-available-p 'pbm)) 'gnus-display-x-face-in-from "{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | ee -")) - ((and (fboundp 'image-type-available-p) - (module-installed-p 'x-face-e21)) - 'x-face-decode-message-header) ((gnus-image-type-available-p 'pbm) 'gnus-display-x-face-in-from) ((and window-system @@ -286,22 +283,15 @@ display -")) If it is a string, the command will be executed in a sub-shell asynchronously. The compressed face will be piped to this command." :type `(choice - ,@(let (x-face-e21 x-face-mule) - (if (featurep 'xemacs) - nil - (setq x-face-e21 (module-installed-p 'x-face-e21) - x-face-mule (module-installed-p 'x-face-mule))) + ,@(let ((x-face-mule (if (featurep 'xemacs) + nil + (module-installed-p 'x-face-mule)))) (delq nil (list 'string (if (or (gnus-image-type-available-p 'xface) (gnus-image-type-available-p 'pbm)) '(function-item gnus-display-x-face-in-from)) - (if (and x-face-e21 - (fboundp 'image-type-available-p)) - '(function-item - :tag "x-face-decode-message-header (x-face-e21)" - x-face-decode-message-header)) (if x-face-mule '(function-item x-face-mule-gnus-article-display-x-face)) @@ -1219,9 +1209,8 @@ See Info node `(gnus)Customizing Articles' for details." (defcustom gnus-treat-display-x-face (and (not noninteractive) - (or (memq gnus-article-x-face-command - '(x-face-decode-message-header - x-face-mule-gnus-article-display-x-face)) + (or (eq gnus-article-x-face-command + 'x-face-mule-gnus-article-display-x-face) (and (fboundp 'image-type-available-p) (image-type-available-p 'xbm) (string-match "^0x" (shell-command-to-string "uncompface")) @@ -1285,9 +1274,6 @@ smiley functions are not overridden by `smiley').") (defcustom gnus-treat-display-face (and (not noninteractive) - ;; x-face-e21 handles both X-Face and Face headers. - (not (and (eq gnus-article-x-face-command 'x-face-decode-message-header) - (module-installed-p 'x-face-e21))) (or (and (fboundp 'image-type-available-p) (image-type-available-p 'png)) (and (featurep 'xemacs) diff --git a/lisp/gnus.el b/lisp/gnus.el index 9f709b4..f3d6044 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -2874,7 +2874,6 @@ gnus-registry.el will populate this if it's loaded.") (eval-and-compile (unless (featurep 'xemacs) - (autoload 'x-face-decode-message-header "x-face-e21") (autoload 'x-face-mule-gnus-article-display-x-face "x-face-mule"))) (unless (and (fboundp 'base64-encode-string)