2000-10-13 10:52:00 ShengHuo ZHU <zsh@cs.rochester.edu>
authorShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 13 Oct 2000 13:58:15 +0000 (13:58 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Fri, 13 Oct 2000 13:58:15 +0000 (13:58 +0000)
* gnus-ems.el (gnus-article-compface-xbm): Ignore errors.

lisp/ChangeLog
lisp/gnus-ems.el

index 4a6ac1f..b6068d8 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-13 10:52:00  ShengHuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-ems.el (gnus-article-compface-xbm): Ignore errors.
+
 2000-10-11  John Wiegley  <johnw@gnu.org>
 
        * gnus-topic.el (gnus-topic-mode): Use `setq' to clear
index ef9442e..6991610 100644 (file)
   "Length of the ring used for `gnus-article-xface-ring-internal'.")
 
 (defvar gnus-article-compface-xbm
-  (eq 0 (string-match "#define" (shell-command-to-string "uncompface -X")))
+  (condition-case ()
+      (eq 0 (string-match "#define" 
+                         (shell-command-to-string "uncompface -X")))
+    (error nil))
   "Non-nil means the compface program supports the -X option.
 That produces XBM output.")