X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fbytecomp.el;h=f5c527fc041c03dc0c430a028f801d880ae99d73;hb=86ee3bc0c7c643f7166fb356d26e1e0f863b3339;hp=03bcb4428cda5fd6fe88d01de0b547335d0c1c81;hpb=b10ee70be2e0ce31599b05e9d58f83fc92141de0;p=chise%2Fxemacs-chise.git- diff --git a/lisp/bytecomp.el b/lisp/bytecomp.el index 03bcb44..f5c527f 100644 --- a/lisp/bytecomp.el +++ b/lisp/bytecomp.el @@ -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) @@ -1821,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)