Commits

martinb  committed 8985b61

Applied patch from Jerry James with:
Subject: Let ps-print use color

Andreas

  • Participants
  • Parent commits 0d85abc

Comments (0)

Files changed (2)

+1999-11-11  Andreas Jaeger  <aj@suse.de>
+
+	* ps-print.el: Check also emacs-major.
+	Patch by Jerry James <jerry@cs.ucsb.edu>.
+
 1999-06-29  SL Baur  <steve@miho.m17n.org>
 
 	* Makefile (PACKAGE): Forked for XEmacs/no-Mule.
 
 (if (or (eq ps-print-emacs-type 'lucid)
 	(eq ps-print-emacs-type 'xemacs))
-    (if (< emacs-minor-version 12)
+    (if (and (< emacs-major-version 20)
+	     (< emacs-minor-version 12))
 	(setq ps-print-color-p nil))
   (require 'faces))			; face-font, face-underline-p,
 					; x-font-regexp
 
 ;; Return t if the device (which can be changed during an emacs
 ;; session) can handle colors.  
-;; This is function is not yet implemented for GNU emacs.
+;; This function is not yet implemented for GNU emacs.
 (defun ps-color-device ()
   (if (and (eq ps-print-emacs-type 'xemacs)
-	   (>= emacs-minor-version 12))
+	   (or (>= emacs-major-version 20)
+	       (>= emacs-minor-version 12)))
       (eq (device-class) 'color)
     t))