diff options
| author | Gerd Moellmann | 2000-10-19 10:55:15 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-10-19 10:55:15 +0000 |
| commit | 877cf6b438c82e43ca401278f277ed344d05b0bf (patch) | |
| tree | 8369865eba466d2bd3b92f54ec8e118f5423d8c7 | |
| parent | 3e9cb08f58cd78f8478bd8b8aabb027f0c857a21 (diff) | |
| download | emacs-877cf6b438c82e43ca401278f277ed344d05b0bf.tar.gz emacs-877cf6b438c82e43ca401278f277ed344d05b0bf.zip | |
(ps-print-emacs-type): Move into the
eval-and-compile.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/ps-print.el | 23 |
2 files changed, 16 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2272474cb54..ddb10778824 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2000-10-19 Gerd Moellmann <gerd@gnu.org> | ||
| 2 | |||
| 3 | * ps-print.el (ps-print-emacs-type): Move into the | ||
| 4 | eval-and-compile. | ||
| 5 | |||
| 1 | 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br> | 6 | 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br> |
| 2 | 7 | ||
| 3 | * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs. Avoid | 8 | * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs. Avoid |
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." | |||
| 2896 | sym))) | 2896 | sym))) |
| 2897 | 2897 | ||
| 2898 | 2898 | ||
| 2899 | (defvar ps-print-emacs-type | 2899 | (eval-and-compile |
| 2900 | (cond ((string-match "XEmacs" emacs-version) 'xemacs) | 2900 | (defvar ps-print-emacs-type |
| 2901 | ((string-match "Lucid" emacs-version) 'lucid) | 2901 | (cond ((string-match "XEmacs" emacs-version) 'xemacs) |
| 2902 | ((string-match "Epoch" emacs-version) 'epoch) | 2902 | ((string-match "Lucid" emacs-version) 'lucid) |
| 2903 | (t 'emacs))) | 2903 | ((string-match "Epoch" emacs-version) 'epoch) |
| 2904 | 2904 | (t 'emacs))) | |
| 2905 | (if (memq ps-print-emacs-type '(lucid xemacs)) | 2905 | |
| 2906 | (if (< emacs-minor-version 12) | 2906 | (if (memq ps-print-emacs-type '(lucid xemacs)) |
| 2907 | (setq ps-print-color-p nil)) | 2907 | (if (< emacs-minor-version 12) |
| 2908 | (require 'faces)) ; face-font, face-underline-p, | 2908 | (setq ps-print-color-p nil)) |
| 2909 | (require 'faces)) ; face-font, face-underline-p, | ||
| 2909 | ; x-font-regexp | 2910 | ; x-font-regexp |
| 2910 | 2911 | ||
| 2911 | |||
| 2912 | (eval-and-compile | ||
| 2913 | ;; Return t if the device (which can be changed during an emacs session) | 2912 | ;; Return t if the device (which can be changed during an emacs session) |
| 2914 | ;; can handle colors. | 2913 | ;; can handle colors. |
| 2915 | ;; This is function is not yet implemented for GNU emacs. | 2914 | ;; This is function is not yet implemented for GNU emacs. |