changeset 80283:2b8718a2482e

(gnus-print-buffer): Honor ps-print-color-p. Suggested by <chris.anderton@zetnet.co.uk>.
author Reiner Steib <Reiner.Steib@gmx.de>
date Wed, 05 Mar 2008 22:06:39 +0000
parents b4445f71b579
children c70b52781106
files lisp/gnus/ChangeLog lisp/gnus/gnus-sum.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Wed Mar 05 21:02:56 2008 +0000
+++ b/lisp/gnus/ChangeLog	Wed Mar 05 22:06:39 2008 +0000
@@ -1,3 +1,8 @@
+2008-03-05  Reiner Steib  <Reiner.Steib@gmx.de>
+
+	* gnus-sum.el (gnus-print-buffer): Honor ps-print-color-p.
+	Suggested by <chris.anderton@zetnet.co.uk>.
+
 2008-02-29  Andreas Seltenreich  <andreas@gate450.dyndns.org>
 
 	* nnweb.el (nnweb-google-parse-1): Fix date parsing on articles with
--- a/lisp/gnus/gnus-sum.el	Wed Mar 05 21:02:56 2008 +0000
+++ b/lisp/gnus/gnus-sum.el	Wed Mar 05 22:06:39 2008 +0000
@@ -8909,7 +8909,7 @@
 			  (mail-header-date gnus-current-headers) ")"))))
 	    (gnus-run-hooks 'gnus-ps-print-hook)
 	    (save-excursion
-	      (if window-system
+	      (if ps-print-color-p
 		  (ps-spool-buffer-with-faces)
 		(ps-spool-buffer)))))
       (kill-buffer buffer))))