diff options
| author | Richard M. Stallman | 1995-08-04 19:56:15 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-08-04 19:56:15 +0000 |
| commit | 30040449d82de5d70bcaf97cfe80e5091f2fbee9 (patch) | |
| tree | 3f6e463eb0645685a673d783ae083b0ecf1620d0 | |
| parent | cfda7e6ddafae0b9b49e4831d4716cabf6037218 (diff) | |
| download | emacs-30040449d82de5d70bcaf97cfe80e5091f2fbee9.tar.gz emacs-30040449d82de5d70bcaf97cfe80e5091f2fbee9.zip | |
Renamed `fsf' to `emacs' in all names.
| -rw-r--r-- | lisp/ps-print.el | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 35dde7c03d1..b4f82aaa32e 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -455,8 +455,8 @@ customizable by changing variables `ps-header-left' and | |||
| 455 | Note: page numbers are displayed as part of headers, see variable | 455 | Note: page numbers are displayed as part of headers, see variable |
| 456 | `ps-print-headers'.") | 456 | `ps-print-headers'.") |
| 457 | 457 | ||
| 458 | (defvar ps-print-color-p (and (or (fboundp 'x-color-values) ; fsf | 458 | (defvar ps-print-color-p (and (or (fboundp 'x-color-values) ; Emacs |
| 459 | (fboundp 'pixel-components)) ; xemacs | 459 | (fboundp 'pixel-components)) ; XEmacs |
| 460 | (fboundp 'float)) | 460 | (fboundp 'float)) |
| 461 | ; Printing color requires both floating point and x-color-values. | 461 | ; Printing color requires both floating point and x-color-values. |
| 462 | "*If non-nil, print the buffer's text in color.") | 462 | "*If non-nil, print the buffer's text in color.") |
| @@ -711,7 +711,7 @@ number, prompt the user for the name of the file to save in." | |||
| 711 | (defvar emacs-type (cond ((string-match "XEmacs" emacs-version) 'xemacs) | 711 | (defvar emacs-type (cond ((string-match "XEmacs" emacs-version) 'xemacs) |
| 712 | ((string-match "Lucid" emacs-version) 'lucid) | 712 | ((string-match "Lucid" emacs-version) 'lucid) |
| 713 | ((string-match "Epoch" emacs-version) 'epoch) | 713 | ((string-match "Epoch" emacs-version) 'epoch) |
| 714 | (t 'fsf)))) | 714 | (t 'emacs)))) |
| 715 | 715 | ||
| 716 | (if (or (eq emacs-type 'lucid) | 716 | (if (or (eq emacs-type 'lucid) |
| 717 | (eq emacs-type 'xemacs)) | 717 | (eq emacs-type 'xemacs)) |
| @@ -1104,7 +1104,7 @@ StandardEncoding 46 82 getinterval aload pop | |||
| 1104 | 1104 | ||
| 1105 | (defvar ps-razchunk 0) | 1105 | (defvar ps-razchunk 0) |
| 1106 | 1106 | ||
| 1107 | (defvar ps-color-format (if (eq emacs-type 'fsf) | 1107 | (defvar ps-color-format (if (eq emacs-type 'emacs) |
| 1108 | 1108 | ||
| 1109 | ;;Emacs understands the %f format; we'll | 1109 | ;;Emacs understands the %f format; we'll |
| 1110 | ;;use it to limit color RGB values to | 1110 | ;;use it to limit color RGB values to |
| @@ -1613,7 +1613,7 @@ EndDSCPage\n")) | |||
| 1613 | (goto-char to))) | 1613 | (goto-char to))) |
| 1614 | 1614 | ||
| 1615 | 1615 | ||
| 1616 | (defun ps-fsf-face-kind-p (face kind kind-regex kind-list) | 1616 | (defun ps-emacs-face-kind-p (face kind kind-regex kind-list) |
| 1617 | (let ((frame-font (face-font face)) | 1617 | (let ((frame-font (face-font face)) |
| 1618 | (face-defaults (face-font face t))) | 1618 | (face-defaults (face-font face t))) |
| 1619 | (or | 1619 | (or |
| @@ -1635,15 +1635,15 @@ EndDSCPage\n")) | |||
| 1635 | (memq face kind-list)))) | 1635 | (memq face kind-list)))) |
| 1636 | 1636 | ||
| 1637 | (defun ps-face-bold-p (face) | 1637 | (defun ps-face-bold-p (face) |
| 1638 | (if (eq emacs-type 'fsf) | 1638 | (if (eq emacs-type 'emacs) |
| 1639 | (ps-fsf-face-kind-p face 'bold "-\\(bold\\|demibold\\)-" | 1639 | (ps-emacs-face-kind-p face 'bold "-\\(bold\\|demibold\\)-" |
| 1640 | ps-bold-faces) | 1640 | ps-bold-faces) |
| 1641 | (ps-xemacs-face-kind-p face 'WEIGHT_NAME "bold\\|demibold" | 1641 | (ps-xemacs-face-kind-p face 'WEIGHT_NAME "bold\\|demibold" |
| 1642 | ps-bold-faces))) | 1642 | ps-bold-faces))) |
| 1643 | 1643 | ||
| 1644 | (defun ps-face-italic-p (face) | 1644 | (defun ps-face-italic-p (face) |
| 1645 | (if (eq emacs-type 'fsf) | 1645 | (if (eq emacs-type 'emacs) |
| 1646 | (ps-fsf-face-kind-p face 'italic "-[io]-" ps-italic-faces) | 1646 | (ps-emacs-face-kind-p face 'italic "-[io]-" ps-italic-faces) |
| 1647 | (or | 1647 | (or |
| 1648 | (ps-xemacs-face-kind-p face 'ANGLE_NAME "i\\|o" ps-italic-faces) | 1648 | (ps-xemacs-face-kind-p face 'ANGLE_NAME "i\\|o" ps-italic-faces) |
| 1649 | (ps-xemacs-face-kind-p face 'SLANT "i\\|o" ps-italic-faces)))) | 1649 | (ps-xemacs-face-kind-p face 'SLANT "i\\|o" ps-italic-faces)))) |
| @@ -1767,7 +1767,7 @@ EndDSCPage\n")) | |||
| 1767 | (setq from position) | 1767 | (setq from position) |
| 1768 | (setq a (cdr a))))) | 1768 | (setq a (cdr a))))) |
| 1769 | 1769 | ||
| 1770 | ((eq emacs-type 'fsf) | 1770 | ((eq emacs-type 'emacs) |
| 1771 | (let ((property-change from) | 1771 | (let ((property-change from) |
| 1772 | (overlay-change from)) | 1772 | (overlay-change from)) |
| 1773 | (while (< from to) | 1773 | (while (< from to) |
| @@ -1924,10 +1924,10 @@ EndDSCPage\n")) | |||
| 1924 | ;; WARNING!!! The following code is *sample* code only. Don't use it | 1924 | ;; WARNING!!! The following code is *sample* code only. Don't use it |
| 1925 | ;; unless you understand what it does! | 1925 | ;; unless you understand what it does! |
| 1926 | 1926 | ||
| 1927 | (defmacro ps-prsc () (list 'if (list 'eq 'emacs-type ''fsf) [f22] ''f22)) | 1927 | (defmacro ps-prsc () (list 'if (list 'eq 'emacs-type ''emacs) [f22] ''f22)) |
| 1928 | (defmacro ps-c-prsc () (list 'if (list 'eq 'emacs-type ''fsf) [C-f22] | 1928 | (defmacro ps-c-prsc () (list 'if (list 'eq 'emacs-type ''emacs) [C-f22] |
| 1929 | ''(control f22))) | 1929 | ''(control f22))) |
| 1930 | (defmacro ps-s-prsc () (list 'if (list 'eq 'emacs-type ''fsf) [S-f22] | 1930 | (defmacro ps-s-prsc () (list 'if (list 'eq 'emacs-type ''emacs) [S-f22] |
| 1931 | ''(shift f22))) | 1931 | ''(shift f22))) |
| 1932 | 1932 | ||
| 1933 | ;; Look in an article or mail message for the Subject: line. To be | 1933 | ;; Look in an article or mail message for the Subject: line. To be |