From d35528ab24dc4894726d0d6d94dadd097ba3bbc6 Mon Sep 17 00:00:00 2001 From: tomo Date: Mon, 29 Jul 2002 16:54:17 +0000 Subject: [PATCH] (byte-compile-insert-header): Use `utf-8-mcs-unix' instead of `utf-8-unix' in UTF-2000. --- lisp/bytecomp.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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") -- 1.7.10.4