projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync up with r21-4-12-chise-0_21-gt-j0-r166.
[chise/xemacs-chise.git-]
/
lisp
/
bytecomp.el
diff --git
a/lisp/bytecomp.el
b/lisp/bytecomp.el
index
2360def
..
f5c527f
100644
(file)
--- 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
(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)
(setq ces 'binary))
(if (eq ces 'binary)
(setq buffer-file-coding-system 'binary)