diff options
| author | Stefan Monnier | 2008-05-29 21:57:32 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-05-29 21:57:32 +0000 |
| commit | e925563701b1557eee26b94cedb5ff610dc46c51 (patch) | |
| tree | de437a181ebcb81eb4a8d13baea195851506d4db /lisp | |
| parent | d4e88786de7b156e480c898a51add9d4812e4253 (diff) | |
| download | emacs-e925563701b1557eee26b94cedb5ff610dc46c51.tar.gz emacs-e925563701b1557eee26b94cedb5ff610dc46c51.zip | |
(utf-7-encode): Use the right escape char depending on imap/nonimap encoding.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/international/utf-7.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index fda00d685d4..8339022aac4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-05-29 Espen Wiborg <espen.wiborg@telio.no> (tiny change) | ||
| 2 | |||
| 3 | * international/utf-7.el (utf-7-encode): Use the right escape char | ||
| 4 | depending on imap/nonimap encoding. | ||
| 5 | |||
| 1 | 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * minibuffer.el (completion-pcm-all-completions): Add the base-size. | 8 | * minibuffer.el (completion-pcm-all-completions): Add the base-size. |
diff --git a/lisp/international/utf-7.el b/lisp/international/utf-7.el index 9bc58b121ec..e6f9d4f4c05 100644 --- a/lisp/international/utf-7.el +++ b/lisp/international/utf-7.el | |||
| @@ -92,7 +92,7 @@ ESC and SKIP-CHARS are adjusted for the normal and IMAP versions." | |||
| 92 | (goto-char (point-min)) | 92 | (goto-char (point-min)) |
| 93 | (while (not (eobp)) | 93 | (while (not (eobp)) |
| 94 | (skip-chars-forward skip-chars) | 94 | (skip-chars-forward skip-chars) |
| 95 | (if (eq ?+ (char-after)) | 95 | (if (eq esc (char-after)) |
| 96 | (progn (forward-char) | 96 | (progn (forward-char) |
| 97 | (insert ?-)) | 97 | (insert ?-)) |
| 98 | (unless (eobp) | 98 | (unless (eobp) |