Use `with-current-buffer' rather than save-excursion+set-buffer.
eword-encode.el (eword-encode-char-type): Defined as macro.
Use string-to-number instead of string-to-int.
mime-conf.el (mime-format-mailcap-command): Add quotes for quoted file name to unquote.
mime-conf.el (mime-format-mailcap-command): Minor refactoring.