Does anybody actually use the "metamail.el" in the net-utils package?
The code around line 182 looks somewhat dubious:
(let ((selective-display nil) ;Disable ^M to nl translation.
(kanji-fileio-code 2) ;Write in JIS code when nemacs.
(file-coding-system ;Write in JUNET style when mule.
(if (featurep 'mule) '*junet*))
(coding-system-for-write ;Write in iso-2022-jp style
'iso-2022-jp) ; when XEmacs/mule
)
This sets coding-system-for-write to 'iso-2022-jp regardless of
whether Mule is enabled or not; without Mule the iso-2022-jp coding
system is not available. I was only able to get this code to
work by commenting out these few lines.