diff options
| author | Lars Ingebrigtsen | 2019-05-17 12:16:19 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-05-17 12:16:31 +0200 |
| commit | 004ef8a8e162639a5de9b6abe49ce741a6da00c3 (patch) | |
| tree | 0e82a4546165c15bfe9d288c3023d44f369b4a1b | |
| parent | 53e18401e5c3fbbeef952f75b153d240921c1a4d (diff) | |
| download | emacs-004ef8a8e162639a5de9b6abe49ce741a6da00c3.tar.gz emacs-004ef8a8e162639a5de9b6abe49ce741a6da00c3.zip | |
(ps-begin-job): Remove two unneeded string-as-unibyte calls
* lisp/ps-print.el (ps-begin-job): Remove two unneeded
string-as-unibyte calls to avoid byte compilation warnings.
| -rw-r--r-- | lisp/ps-print.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 881d6a8f4bc..8569500fe0f 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -5772,9 +5772,9 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5772 | ps-footer-font-size-internal (ps-get-font-size 'ps-footer-font-size) | 5772 | ps-footer-font-size-internal (ps-get-font-size 'ps-footer-font-size) |
| 5773 | ps-control-or-escape-regexp | 5773 | ps-control-or-escape-regexp |
| 5774 | (cond ((eq ps-print-control-characters '8-bit) | 5774 | (cond ((eq ps-print-control-characters '8-bit) |
| 5775 | (string-as-unibyte "[\000-\037\177-\377]")) | 5775 | "[\000-\037\177-\377]") |
| 5776 | ((eq ps-print-control-characters 'control-8-bit) | 5776 | ((eq ps-print-control-characters 'control-8-bit) |
| 5777 | (string-as-unibyte "[\000-\037\177-\237]")) | 5777 | "[\000-\037\177-\237]") |
| 5778 | ((eq ps-print-control-characters 'control) | 5778 | ((eq ps-print-control-characters 'control) |
| 5779 | "[\000-\037\177]") | 5779 | "[\000-\037\177]") |
| 5780 | (t "[\t\n\f]")) | 5780 | (t "[\t\n\f]")) |
| @@ -5829,6 +5829,7 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5829 | ;; They may be overridden by ps-mule-begin-job. | 5829 | ;; They may be overridden by ps-mule-begin-job. |
| 5830 | ps-basic-plot-string-function 'ps-basic-plot-string | 5830 | ps-basic-plot-string-function 'ps-basic-plot-string |
| 5831 | ps-encode-header-string-function nil) | 5831 | ps-encode-header-string-function nil) |
| 5832 | (assert (not (multibyte-string-p ps-control-or-escape-regexp))) | ||
| 5832 | ;; initialize page dimensions | 5833 | ;; initialize page dimensions |
| 5833 | (ps-get-page-dimensions) | 5834 | (ps-get-page-dimensions) |
| 5834 | ;; final check | 5835 | ;; final check |