Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
eb7f6f5b
Commit
eb7f6f5b
authored
Jan 27, 2009
by
Chong Yidong
Browse files
(rmail-convert-babyl-to-mbox): Prompt user before converting.
parent
eaf49a68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
lisp/mail/rmail.el
lisp/mail/rmail.el
+3
-0
No files found.
lisp/mail/rmail.el
View file @
eb7f6f5b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment