diff options
author | Glenn Morris <rgm@gnu.org> | 2008-04-23 02:57:57 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2008-04-23 02:57:57 +0000 |
commit | 037f214b3a3d2690e266a9e10eab7fa3db0ecc1f (patch) | |
tree | 956c76a4eb415f2007706aba323bd725e8c2b235 /lisp/ps-def.el | |
parent | e28acf63e281575aa83f4fb290838342fa306ee6 (diff) | |
download | emacs-037f214b3a3d2690e266a9e10eab7fa3db0ecc1f.tar.gz emacs-037f214b3a3d2690e266a9e10eab7fa3db0ecc1f.tar.bz2 emacs-037f214b3a3d2690e266a9e10eab7fa3db0ecc1f.zip |
(ps-color-device): Drop support for XEmacs < 19.12.
Diffstat (limited to 'lisp/ps-def.el')
-rw-r--r-- | lisp/ps-def.el | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/lisp/ps-def.el b/lisp/ps-def.el index 72a8bbf3e23..9a972c67877 100644 --- a/lisp/ps-def.el +++ b/lisp/ps-def.el @@ -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 |