[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 81ce8d9: Use cl-assert instead of assert in ps-prin
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 81ce8d9: Use cl-assert instead of assert in ps-print.el |
Date: |
Fri, 17 May 2019 06:27:35 -0400 (EDT) |
branch: master
commit 81ce8d9d11fa89fd4a636af5ef63eadf8f605e58
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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.
---
lisp/ps-print.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 8569500..59ac84a 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -12,6 +12,8 @@
;; Version: 7.3.5
;; X-URL: http://www.emacswiki.org/cgi-bin/wiki/ViniciusJoseLatorre
+(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
(ps-get-page-dimensions)
;; final check
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 81ce8d9: Use cl-assert instead of assert in ps-print.el,
Lars Ingebrigtsen <=