Commit 81ce8d9d authored by Lars Ingebrigtsen's avatar Lars Ingebrigtsen

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.
parent 004ef8a8
Pipeline #1705 failed with stage
in 61 minutes and 44 seconds
......@@ -12,6 +12,8 @@
;; Version: 7.3.5
;; X-URL:
(eval-when-compile (require 'cl-lib))
(defconst ps-print-version "7.3.5"
"ps-print.el, v 7.3.5 <2009/12/23 vinicius>
......@@ -5829,7 +5831,7 @@ XSTART YSTART are the relative position for the first page in a sheet.")
;; They may be overridden by ps-mule-begin-job.
ps-basic-plot-string-function 'ps-basic-plot-string
ps-encode-header-string-function nil)
(assert (not (multibyte-string-p ps-control-or-escape-regexp)))
(cl-assert (not (multibyte-string-p ps-control-or-escape-regexp)))
;; initialize page dimensions
;; final check
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment