diff lisp/gnus/gnus-art.el @ 47540:b825bae4a1ad

* gnus-art.el (gnus-article-x-face-command): Don't use gnus-article-compface-xbm.
author ShengHuo ZHU <zsh@cs.rochester.edu>
date Wed, 18 Sep 2002 17:55:26 +0000
parents 3b7e1c7a2739
children 451b8289e283
line wrap: on
line diff
--- a/lisp/gnus/gnus-art.el	Wed Sep 18 16:47:48 2002 +0000
+++ b/lisp/gnus/gnus-art.el	Wed Sep 18 17:55:26 2002 +0000
@@ -207,7 +207,8 @@
   (if (and (fboundp 'image-type-available-p)
 	   (image-type-available-p 'xbm))
       'gnus-article-display-xface
-    (if gnus-article-compface-xbm
+    (if (eq 0 (string-match "#define"
+                            (shell-command-to-string "uncompface -X")))
 	"{ echo '/* Width=48, Height=48 */'; uncompface; } | display -"
       "{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | \
 display -"))