diff options
| author | Kenichi Handa | 2007-01-12 00:55:34 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2007-01-12 00:55:34 +0000 |
| commit | 0d7c8ac455b488b47725d00aa7980805402caad4 (patch) | |
| tree | 7a1ecab561f018768ad4b2d207634968b6af5bb8 | |
| parent | 51524f43ab436d0d2b9e45a5e8f831fe35fbde6f (diff) | |
| download | emacs-0d7c8ac455b488b47725d00aa7980805402caad4.tar.gz emacs-0d7c8ac455b488b47725d00aa7980805402caad4.zip | |
(uudecode-decode-region-internal): Make it work in a
multibyte buffer.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/uudecode.el | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a56f9ff1536..af7904fe14c 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-01-12 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * uudecode.el (uudecode-decode-region-internal): Make it work in a | ||
| 4 | multibyte buffer. | ||
| 5 | |||
| 1 | 2007-01-07 Reiner Steib <Reiner.Steib@gmx.de> | 6 | 2007-01-07 Reiner Steib <Reiner.Steib@gmx.de> |
| 2 | 7 | ||
| 3 | * gnus-soup.el: Add missing :group in previous change. | 8 | * gnus-soup.el: Add missing :group in previous change. |
diff --git a/lisp/gnus/uudecode.el b/lisp/gnus/uudecode.el index 616348e899f..6586f715f9c 100644 --- a/lisp/gnus/uudecode.el +++ b/lisp/gnus/uudecode.el | |||
| @@ -205,7 +205,10 @@ If FILE-NAME is non-nil, save the result to FILE-NAME." | |||
| 205 | (insert (apply 'concat (nreverse result))))) | 205 | (insert (apply 'concat (nreverse result))))) |
| 206 | (or (markerp end) (setq end (set-marker (make-marker) end))) | 206 | (or (markerp end) (setq end (set-marker (make-marker) end))) |
| 207 | (goto-char start) | 207 | (goto-char start) |
| 208 | (insert (apply 'concat (nreverse result))) | 208 | (if enable-multibyte-characters |
| 209 | (mapc #'(lambda (x) (insert (string-to-multibyte x))) | ||
| 210 | (nreverse result)) | ||
| 211 | (insert (apply 'concat (nreverse result)))) | ||
| 209 | (delete-region (point) end)))))) | 212 | (delete-region (point) end)))))) |
| 210 | 213 | ||
| 211 | ;;;###autoload | 214 | ;;;###autoload |