(defalias 'ps-frame-parameter
(if (fboundp 'frame-parameter) 'frame-parameter 'frame-property))
-(defalias 'ps-mark-active-p
- (if (fboundp 'region-active-p)
- 'region-active-p ; XEmacs
- (defvar mark-active) ; To shup up XEmacs's byte compiler.
- (lambda () mark-active))) ; Emacs
-
(defun ps-face-foreground-name (face)
(if (featurep 'xemacs)
(ps-xemacs-color-name (face-foreground face))
(defun ps-print-preprint-region (prefix-arg)
- (or (ps-mark-active-p)
+ (or (mark)
(error "The mark is not set now"))
(list (point) (mark) (ps-print-preprint prefix-arg)))