diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-10-19 10:55:15 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-10-19 10:55:15 +0000 |
commit | 877cf6b438c82e43ca401278f277ed344d05b0bf (patch) | |
tree | 8369865eba466d2bd3b92f54ec8e118f5423d8c7 /lisp/ps-print.el | |
parent | 3e9cb08f58cd78f8478bd8b8aabb027f0c857a21 (diff) | |
download | emacs-877cf6b438c82e43ca401278f277ed344d05b0bf.tar.gz |
(ps-print-emacs-type): Move into the
eval-and-compile.
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r-- | lisp/ps-print.el | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 0e88614c847..834ad7d2855 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el @@ -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. |