update.
[chise/xemacs-chise.git-] / lisp / bytecomp.el
index 03bcb44..adc9d57 100644 (file)
@@ -1789,7 +1789,8 @@ With argument, insert value in current buffer after the form."
                (setq ces 'binary)
              (goto-char (point-min))
              (while (< (point)(point-max))
-               (cond ((eq (char-after) ?\;)
+               (cond ((and (eq (char-after) ?\;)
+                           (not (eq (char-after (1- (point))) ?\\)))
                       (delete-region (point)(point-at-eol))
                       (if (eq (char-after) ?\n)
                           (delete-char 1)
@@ -1820,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")