Commit eb7f6f5b authored by Chong Yidong's avatar Chong Yidong
Browse files

(rmail-convert-babyl-to-mbox): Prompt user before converting.

parent eaf49a68
......@@ -917,6 +917,9 @@ MSGNUM, if present, indicates the malformed message."
(defun rmail-convert-babyl-to-mbox ()
"Convert the mail file from Babyl version 5 to mbox.
This function also reinitializes local variables used by Rmail."
(unless (y-or-n-p "Babyl mail file detected. Rmail now uses mbox format for mail files.
Convert Babyl mail file to mbox format? ")
(error "Aborted"))
(let ((old-file (make-temp-file "rmail"))
(new-file (make-temp-file "rmail")))
(unwind-protect
......
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