Commit ddf5d974 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka

(mm-charset-to-coding-system): Use coding-system-from-name

if it is available.  (bug#5647)
parent 57938a79
2010-03-15 Katsumi Yamaoka <yamaoka@jpl.org>
* mm-util.el (mm-charset-to-coding-system): Use coding-system-from-name
if it is available. (bug#5647)
2010-02-26 Glenn Morris <rgm@gnu.org>
* message.el (message-send-mail-function): Change the default, so that
......
......@@ -566,6 +566,9 @@ is not available."
;;; (eq charset (coding-system-get charset 'mime-charset))
)
charset)
;; Use coding system Emacs knows.
((and (fboundp 'coding-system-from-name)
(coding-system-from-name charset)))
;; Eval expressions from `mm-charset-eval-alist'
((let* ((el (assq charset mm-charset-eval-alist))
(cs (car el))
......
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