diff options
| author | Lars Ingebrigtsen | 2019-05-17 12:27:26 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2019-05-17 12:27:26 +0200 |
| commit | 81ce8d9d11fa89fd4a636af5ef63eadf8f605e58 (patch) | |
| tree | d31364dc1f5a78e7def56e7bc3c36432557eb8c4 | |
| parent | 004ef8a8e162639a5de9b6abe49ce741a6da00c3 (diff) | |
| download | emacs-81ce8d9d11fa89fd4a636af5ef63eadf8f605e58.tar.gz emacs-81ce8d9d11fa89fd4a636af5ef63eadf8f605e58.zip | |
Use cl-assert instead of assert in ps-print.el
* lisp/ps-print.el (ps-begin-job): Use cl-assert instead of assert
and require cl-lib.
| -rw-r--r-- | lisp/ps-print.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 8569500fe0f..59ac84a3639 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | ;; Version: 7.3.5 | 12 | ;; Version: 7.3.5 |
| 13 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre | 13 | ;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre |
| 14 | 14 | ||
| 15 | (eval-when-compile (require 'cl-lib)) | ||
| 16 | |||
| 15 | (defconst ps-print-version "7.3.5" | 17 | (defconst ps-print-version "7.3.5" |
| 16 | "ps-print.el, v 7.3.5 <2009/12/23 vinicius> | 18 | "ps-print.el, v 7.3.5 <2009/12/23 vinicius> |
| 17 | 19 | ||
| @@ -5829,7 +5831,7 @@ XSTART YSTART are the relative position for the first page in a sheet.") | |||
| 5829 | ;; They may be overridden by ps-mule-begin-job. | 5831 | ;; They may be overridden by ps-mule-begin-job. |
| 5830 | ps-basic-plot-string-function 'ps-basic-plot-string | 5832 | ps-basic-plot-string-function 'ps-basic-plot-string |
| 5831 | ps-encode-header-string-function nil) | 5833 | ps-encode-header-string-function nil) |
| 5832 | (assert (not (multibyte-string-p ps-control-or-escape-regexp))) | 5834 | (cl-assert (not (multibyte-string-p ps-control-or-escape-regexp))) |
| 5833 | ;; initialize page dimensions | 5835 | ;; initialize page dimensions |
| 5834 | (ps-get-page-dimensions) | 5836 | (ps-get-page-dimensions) |
| 5835 | ;; final check | 5837 | ;; final check |