use insert-file-contents instead of insert-file-contents-literally.
Fixes bug #2019.
+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
(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)