Commit 877cf6b4 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(ps-print-emacs-type): Move into the

eval-and-compile.
parent 3e9cb08f
2000-10-19 Gerd Moellmann <gerd@gnu.org>
* ps-print.el (ps-print-emacs-type): Move into the
eval-and-compile.
2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
* ps-print.el: Even/odd pages fix. Fix little bug on XEmacs. Avoid
......
......@@ -2896,20 +2896,19 @@ The table depends on the current ps-print setup."
sym)))
(defvar ps-print-emacs-type
(cond ((string-match "XEmacs" emacs-version) 'xemacs)
((string-match "Lucid" emacs-version) 'lucid)
((string-match "Epoch" emacs-version) 'epoch)
(t 'emacs)))
(if (memq ps-print-emacs-type '(lucid xemacs))
(if (< emacs-minor-version 12)
(setq ps-print-color-p nil))
(require 'faces)) ; face-font, face-underline-p,
(eval-and-compile
(defvar ps-print-emacs-type
(cond ((string-match "XEmacs" emacs-version) 'xemacs)
((string-match "Lucid" emacs-version) 'lucid)
((string-match "Epoch" emacs-version) 'epoch)
(t 'emacs)))
(if (memq ps-print-emacs-type '(lucid xemacs))
(if (< emacs-minor-version 12)
(setq ps-print-color-p nil))
(require 'faces)) ; face-font, face-underline-p,
; x-font-regexp
(eval-and-compile
;; 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment