(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.
This commit is contained in:
parent
07a1e79441
commit
3951477883
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue