From: tomo Date: Mon, 29 Jul 2002 16:54:17 +0000 (+0000) Subject: (byte-compile-insert-header): Use `utf-8-mcs-unix' instead of X-Git-Tag: r21-2-44-utf-2000-0_19-nc4~4 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d35528ab24dc4894726d0d6d94dadd097ba3bbc6;p=chise%2Fxemacs-chise.git (byte-compile-insert-header): Use `utf-8-mcs-unix' instead of `utf-8-unix' in UTF-2000. --- diff --git a/lisp/bytecomp.el b/lisp/bytecomp.el index 2360def..adc9d57 100644 --- a/lisp/bytecomp.el +++ b/lisp/bytecomp.el @@ -1821,14 +1821,15 @@ With argument, insert value in current buffer after the form." (if (eq (point) (point-max)) (if (and (featurep 'utf-2000) (re-search-backward "\\\\u[0-9A-Fa-f]+" nil t)) - 'utf-8-unix + 'utf-8-mcs-unix 'binary)))) (setq ces 'binary)) (if (eq ces 'binary) (setq buffer-file-coding-system 'binary) - (cond ((eq ces 'utf-8-unix) - (insert "(require 'mule)\n;;;###coding system: utf-8-unix\n") - (setq buffer-file-coding-system 'utf-8-unix) + (cond ((eq ces 'utf-8-mcs-unix) + (insert + "(require 'mule)\n;;;###coding system: utf-8-mcs-unix\n") + (setq buffer-file-coding-system 'utf-8-mcs-unix) ) (t (insert "(require 'mule)\n;;;###coding system: escape-quoted\n")