We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a84dc24 commit 17bbdccCopy full SHA for 17bbdcc
scripts/license-to-rtf.el
@@ -5,7 +5,8 @@
5
;;
6
;; This file is not part of GNU Emacs.
7
8
-(require 'cl)
+(require 'cl-lib)
9
+(require 'cl-extra)
10
(require 'subr-x) ; string-trim
11
12
(defun read-lines (filename)
@@ -34,13 +35,13 @@
34
35
(dolist (l lines)
36
(let ((text (cleanup-string-for-rtf l)))
37
(cond
- ((and (plusp (length text))
38
+ ((and (cl-plusp (length text))
39
(null pars))
40
(push text pars))
41
42
(car pars))
- (setcar pars (concatenate 'string (car pars) " " text)))
43
- ((plusp (length text))
+ (setcar pars (cl-concatenate 'string (car pars) " " text)))
44
+ ((cl-plusp (length text))
45
(setcar pars text))
46
(t (when (car pars)
47
(push nil pars))))))
0 commit comments