From 5e011cb9ce2a4569dbc9f41e8a29ae6e8242f0e1 Mon Sep 17 00:00:00 2001 From: yamaoka Date: Tue, 26 Oct 1999 12:58:21 +0000 Subject: [PATCH] (gnus-treat-display-smileys): Default to nil if `window-system' is nil. (gnus-article-x-face-command): Default to external command if `window-system' is nil. --- lisp/gnus-art.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/gnus-art.el b/lisp/gnus-art.el index 1a7d764..9c66e40 100644 --- a/lisp/gnus-art.el +++ b/lisp/gnus-art.el @@ -213,7 +213,9 @@ regexp. If it matches, the text in question is not a signature." :group 'gnus-article-hiding) (defcustom gnus-article-x-face-command - (if (module-installed-p 'x-face-mule) + (if (and (not gnus-xemacs) + window-system + (module-installed-p 'x-face-mule)) 'x-face-mule-gnus-article-display-x-face "{ echo '/* Width=48, Height=48 */'; uncompface; } | icontopbm | display -" ) @@ -885,7 +887,9 @@ See the manual for details." (defcustom gnus-treat-display-smileys (if (or (and gnus-xemacs (featurep 'xpm)) - (module-installed-p 'smiley-mule)) + (and (not gnus-xemacs) + window-system + (module-installed-p 'smiley-mule))) t nil) "Display smileys. -- 1.7.10.4