changeset 94276:46345beb0bac

(ps-color-device): Drop support for XEmacs < 19.12.
author Glenn Morris <rgm@gnu.org>
date Wed, 23 Apr 2008 02:57:57 +0000
parents 5503e811e130
children 0d9b4dfd3f8b
files lisp/ps-def.el
diffstat 1 files changed, 2 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ps-def.el	Wed Apr 23 02:57:36 2008 +0000
+++ b/lisp/ps-def.el	Wed Apr 23 02:57:57 2008 +0000
@@ -178,17 +178,8 @@
 
   ;; Return t if the device (which can be changed during an emacs session)
   ;; can handle colors.
-  ;; XEmacs change: Need to check for emacs-major-version too.
-  (if (or (> emacs-major-version 19)
-	  (and (= emacs-major-version 19)
-	       (>= emacs-minor-version 12)))
-      ;; xemacs >= 19.12
-      (defun ps-color-device ()
-	(eq (device-class) 'color))
-    ;; xemacs < 19.12
-    (setq ps-print-color-p nil)
-    (defalias 'ps-color-device 'ignore))
-
+  (defun ps-color-device ()
+    (eq (device-class) 'color))
 
   (defun ps-mapper (extent list)
     (nconc list