From: Simon Josefsson Date: Wed, 30 Apr 2003 01:56:00 +0000 (+0000) Subject: (mm-charset-to-coding-system): Use user specified X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;h=7af61e949af2c1470884ba8f314b96a605edbd6c;p=gnus (mm-charset-to-coding-system): Use user specified charset unless coding-system-get is fboundp. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44ee798ab..ed5c282a4 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2003-04-30 Simon Josefsson + + * mm-util.el (mm-charset-to-coding-system): Use user specified + charset unless coding-system-get is fboundp. + 2003-04-30 Kevin Greiner * gnus-agent.el (gnus-agent-cat-defaccessor, gnus-agent-cat-name): diff --git a/lisp/mm-util.el b/lisp/mm-util.el index 9f579b38d..c50c3b5b7 100644 --- a/lisp/mm-util.el +++ b/lisp/mm-util.el @@ -341,7 +341,8 @@ used as the line break code type of the coding system." ((null charset) charset) ;; Running in a non-MULE environment. - ((null (mm-get-coding-system-list)) + ((or (null (mm-get-coding-system-list)) + (not (fboundp 'coding-system-get))) charset) ;; ascii ((eq charset 'us-ascii)