Commit 39514778 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(rmail-convert-babyl-to-mbox): Bind coding-system-for-read to `raw-text', and

use insert-file-contents instead of insert-file-contents-literally.
Fixes bug #2019.
parent 07a1e794
2009-01-30 Eli Zaretskii <eliz@gnu.org>
* mail/rmail.el (rmail-convert-babyl-to-mbox): Bind
coding-system-for-read to `raw-text', and use insert-file-contents
instead of insert-file-contents-literally. Fixes bug #2019.
2009-01-30 Nick Roberts <nickrob@snap.net.nz>
 
* vc-hooks.el (vc-stay-local-p): Let vc-BACKEND-stay-local take
......
......@@ -915,9 +915,10 @@ Convert Babyl mail file to mbox format? ")
(write-region (point-min) (point-max) old-file)
(unrmail old-file new-file)
(message "Replacing BABYL format with mbox format...")
(let ((inhibit-read-only t))
(let ((inhibit-read-only t)
(coding-system-for-read 'raw-text))
(erase-buffer)
(insert-file-contents-literally new-file)
(insert-file-contents new-file)
(rmail-mode-1)
(rmail-perm-variables)
(rmail-variables)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment