projects
/
chise
/
xemacs-chise.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
301fb09
)
(byte-compile-insert-header): In XEmacs CHISE, check \uXXXX for every
author
tomo
<tomo>
Thu, 3 Apr 2003 11:07:52 +0000
(11:07 +0000)
committer
tomo
<tomo>
Thu, 3 Apr 2003 11:07:52 +0000
(11:07 +0000)
cases.
lisp/bytecomp.el
patch
|
blob
|
history
diff --git
a/lisp/bytecomp.el
b/lisp/bytecomp.el
index
56eb532
..
cf3e917
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-mcs-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)