changeset 88660:e532f53e6da0

(mm-auto-save-coding-system): Prefer utf-8-emacs coding system to emacs-mule.
author Dave Love <fx@gnu.org>
date Mon, 27 May 2002 14:53:41 +0000
parents 76e06537f60c
children 64d7e069bc80
files lisp/gnus/mm-util.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/mm-util.el	Mon May 27 14:52:46 2002 +0000
+++ b/lisp/gnus/mm-util.el	Mon May 27 14:53:41 2002 +0000
@@ -155,6 +155,11 @@
 
 (defvar mm-auto-save-coding-system
   (cond
+   ((mm-coding-system-p 'utf-8-emacs)
+    (if (memq system-type '(windows-nt ms-dos ms-windows))
+	(if (mm-coding-system-p 'utf-8-emacs-dos)
+	    'utf-8-emacs-dos mm-binary-coding-system)
+      'utf-8-emacs))
    ((mm-coding-system-p 'emacs-mule)
     (if (memq system-type '(windows-nt ms-dos ms-windows))
 	(if (mm-coding-system-p 'emacs-mule-dos)