X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fbytecomp.el;h=f5c527fc041c03dc0c430a028f801d880ae99d73;hb=86ee3bc0c7c643f7166fb356d26e1e0f863b3339;hp=2360def7b8a0d396e35899953981065c96e1abd5;hpb=04a2289bc5074270888897076fd1299d44f5fd83;p=chise%2Fxemacs-chise.git- diff --git a/lisp/bytecomp.el b/lisp/bytecomp.el index 2360def..f5c527f 100644 --- a/lisp/bytecomp.el +++ b/lisp/bytecomp.el @@ -1822,7 +1822,11 @@ With argument, insert value in current buffer after the form." (if (and (featurep 'utf-2000) (re-search-backward "\\\\u[0-9A-Fa-f]+" nil t)) 'utf-8-unix - 'binary)))) + 'binary) + (when (featurep 'utf-2000) + (goto-char (point-min)) + (if (re-search-forward "\\\\u[0-9A-Fa-f]+" nil t) + 'utf-8-mcs-unix))))) (setq ces 'binary)) (if (eq ces 'binary) (setq buffer-file-coding-system 'binary)