diff options
author | Glenn Morris <rgm@gnu.org> | 2017-12-27 10:50:45 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-12-27 10:50:45 -0800 |
commit | f16ba58809fa9b83d42f2bb6b4722599bc98b408 (patch) | |
tree | 803b1bf7830028caf809bd1f96027651dddcee5e /lisp/mail/rfc2231.el | |
parent | 08e1438a3bf781ce85c7af75f1fa73cb826ba3dd (diff) | |
download | emacs-f16ba58809fa9b83d42f2bb6b4722599bc98b408.tar.gz emacs-f16ba58809fa9b83d42f2bb6b4722599bc98b408.tar.bz2 emacs-f16ba58809fa9b83d42f2bb6b4722599bc98b408.zip |
Fix recent rfc2231 avoidance of cl
* lisp/mail/rfc2231.el (rfc2231-parse-string)
(rfc2231-encode-string): Replace cl forms with cl-lib versions.
Diffstat (limited to 'lisp/mail/rfc2231.el')
-rw-r--r-- | lisp/mail/rfc2231.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/mail/rfc2231.el b/lisp/mail/rfc2231.el index dab78070e43..e032597327a 100644 --- a/lisp/mail/rfc2231.el +++ b/lisp/mail/rfc2231.el @@ -180,7 +180,7 @@ must never cause a Lisp error." ;; Now collect and concatenate continuation parameters. (let ((cparams nil) elem) - (loop for (attribute value part encoded) + (cl-loop for (attribute value part encoded) in (sort parameters (lambda (e1 e2) (< (or (caddr e1) 0) (or (caddr e2) 0)))) @@ -290,7 +290,7 @@ the result of this function." (insert param "*=") (while (not (eobp)) (insert (if (>= num 0) " " "") - param "*" (format "%d" (incf num)) "*=") + param "*" (format "%d" (cl-incf num)) "*=") (forward-line 1)))) (spacep (goto-char (point-min)) |