diff options
| author | Stefan Monnier | 2017-05-23 09:12:06 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2017-05-23 09:12:06 -0400 |
| commit | f037e98fe90aea530ab03437afbfb2337fc676a3 (patch) | |
| tree | 582e0946d39a8417898e07b727a07267a7ac4d33 | |
| parent | a8d0a91841121a7bdae668a5f29c1ba84739e14f (diff) | |
| download | emacs-f037e98fe90aea530ab03437afbfb2337fc676a3.tar.gz emacs-f037e98fe90aea530ab03437afbfb2337fc676a3.zip | |
* lisp/international/utf7.el: Don't require CL. Use lexical-binding.
| -rw-r--r-- | lisp/international/utf7.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/international/utf7.el b/lisp/international/utf7.el index 82dad3da6eb..f245d7eb696 100644 --- a/lisp/international/utf7.el +++ b/lisp/international/utf7.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; utf7.el --- UTF-7 encoding/decoding for Emacs -*-coding: utf-8;-*- | 1 | ;;; utf7.el --- UTF-7 encoding/decoding for Emacs -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2017 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -64,7 +64,6 @@ | |||
| 64 | ;;; Code: | 64 | ;;; Code: |
| 65 | 65 | ||
| 66 | (require 'base64) | 66 | (require 'base64) |
| 67 | (eval-when-compile (require 'cl)) | ||
| 68 | (require 'mm-util) | 67 | (require 'mm-util) |
| 69 | 68 | ||
| 70 | (defconst utf7-direct-encoding-chars " -%'-*,-[]-}" | 69 | (defconst utf7-direct-encoding-chars " -%'-*,-[]-}" |
| @@ -140,8 +139,7 @@ Use IMAP modification if FOR-IMAP is non-nil." | |||
| 140 | (defun utf7-decode-internal (&optional for-imap) | 139 | (defun utf7-decode-internal (&optional for-imap) |
| 141 | "Decode UTF-7 text in (temporary) buffer. | 140 | "Decode UTF-7 text in (temporary) buffer. |
| 142 | Use IMAP modification if FOR-IMAP is non-nil." | 141 | Use IMAP modification if FOR-IMAP is non-nil." |
| 143 | (let ((start (point-min)) | 142 | (let ((start (point-min))) |
| 144 | (end (point-max))) | ||
| 145 | (goto-char start) | 143 | (goto-char start) |
| 146 | (let* ((esc-pattern (concat "^" (char-to-string (if for-imap ?& ?+)))) | 144 | (let* ((esc-pattern (concat "^" (char-to-string (if for-imap ?& ?+)))) |
| 147 | (base64-chars (concat "A-Za-z0-9+" | 145 | (base64-chars (concat "A-Za-z0-9+" |