emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/international/utf-8.el,v


From: Kenichi Handa
Subject: [Emacs-diffs] Changes to emacs/lisp/international/utf-8.el,v
Date: Sat, 24 Feb 2007 01:25:38 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Kenichi Handa <handa>   07/02/24 01:25:37

Index: utf-8.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/international/utf-8.el,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -b -r1.53 -r1.54
--- utf-8.el    21 Jan 2007 02:56:40 -0000      1.53
+++ utf-8.el    24 Feb 2007 01:25:37 -0000      1.54
@@ -1008,9 +1008,11 @@
 This is used as a post-read-conversion of utf-8 coding system."
   (if (and utf-translate-cjk-mode
           (not utf-translate-cjk-lang-env)
+          (if (stringp beg)
+              (string-match "\\cc\\|\\cj\\|\\ch" beg)
           (save-excursion
             (goto-char beg)
-            (re-search-forward "\\cc\\|\\cj\\|\\ch" end t)))
+              (re-search-forward "\\cc\\|\\cj\\|\\ch" end t))))
       (utf-translate-cjk-load-tables))
   nil)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]