* gnus-art.el (gnus-treat-display-xface): By default, Emacs 21
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 15 Sep 2000 12:04:29 +0000 (12:04 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 15 Sep 2000 12:04:29 +0000 (12:04 +0000)
display xface.

lisp/ChangeLog
lisp/gnus-art.el

index 20cd48e..805d966 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-15 09:01:40  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-art.el (gnus-treat-display-xface): By default, Emacs 21
+       display xface.
+
 2000-08-23 02:54:46  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-group.el (gnus-group-rename-group): Inhibit renaming of
index 31307fb..4bc1e3f 100644 (file)
@@ -871,8 +871,11 @@ See the manual for details."
   :type gnus-article-treat-custom)
 (put 'gnus-treat-overstrike 'highlight t)
 
-(defcustom gnus-treat-display-xface (if (and gnus-xemacs (featurep 'xface))
-                                       'head nil)
+(defcustom gnus-treat-display-xface 
+  (and (or (and (fboundp 'image-type-available-p)
+               (image-type-available-p 'xbm))
+          (and gnus-xemacs (featurep 'xface)))
+       'head)
   "Display X-Face headers.
 Valid values are nil, t, `head', `last', an integer or a predicate.
 See the manual for details."