mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(ps-print-emacs-type): Move into the
eval-and-compile.
This commit is contained in:
parent
3e9cb08f58
commit
877cf6b438
2 changed files with 15 additions and 11 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)))
|
||||
(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,
|
||||
(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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue