aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ps-print.el8
1 files changed, 1 insertions, 7 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 8424a7de44f..fd5d94334cb 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -1501,12 +1501,6 @@ Please send all bug fixes and enhancements to
1501(defalias 'ps-frame-parameter 1501(defalias 'ps-frame-parameter
1502 (if (fboundp 'frame-parameter) 'frame-parameter 'frame-property)) 1502 (if (fboundp 'frame-parameter) 'frame-parameter 'frame-property))
1503 1503
1504(defalias 'ps-mark-active-p
1505 (if (fboundp 'region-active-p)
1506 'region-active-p ; XEmacs
1507 (defvar mark-active) ; To shup up XEmacs's byte compiler.
1508 (lambda () mark-active))) ; Emacs
1509
1510(defun ps-face-foreground-name (face) 1504(defun ps-face-foreground-name (face)
1511 (if (featurep 'xemacs) 1505 (if (featurep 'xemacs)
1512 (ps-xemacs-color-name (face-foreground face)) 1506 (ps-xemacs-color-name (face-foreground face))
@@ -4701,7 +4695,7 @@ page-height == ((floor print-height ((th + ls) * zh)) * ((th + ls) * zh)) - th
4701 4695
4702 4696
4703(defun ps-print-preprint-region (prefix-arg) 4697(defun ps-print-preprint-region (prefix-arg)
4704 (or (ps-mark-active-p) 4698 (or (mark)
4705 (error "The mark is not set now")) 4699 (error "The mark is not set now"))
4706 (list (point) (mark) (ps-print-preprint prefix-arg))) 4700 (list (point) (mark) (ps-print-preprint prefix-arg)))
4707 4701