auctex-diffs
[Top][All Lists]
Advanced

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

[AUCTeX-diffs] Changes to auctex/latex.el


From: Masayuki Ataka
Subject: [AUCTeX-diffs] Changes to auctex/latex.el
Date: Mon, 31 Oct 2005 04:40:41 -0500

Index: auctex/latex.el
diff -u auctex/latex.el:5.388 auctex/latex.el:5.389
--- auctex/latex.el:5.388       Wed Oct 19 21:19:11 2005
+++ auctex/latex.el     Mon Oct 31 09:40:40 2005
@@ -2787,6 +2787,15 @@
     (if (looking-at "..\\c>")
        (forward-char 1)
       (forward-char 2)))
+  ;; Cater for Japanese Macro
+  (when (and (boundp 'japanese-TeX-mode) japanese-TeX-mode
+            (aref (char-category-set (char-after)) ?j)
+            (TeX-looking-at-backward (concat (regexp-quote TeX-esc) 
TeX-token-char "+")
+                                     (1- (- (point) 
(line-beginning-position))))
+            (save-excursion
+              (goto-char (match-beginning 0))
+              (zerop (logand 1 (skip-chars-backward "\\\\")))))
+      (goto-char (match-beginning 0)))
   ;; Cater for \verb|...| (and similar) contructs which should not be
   ;; broken. (FIXME: Make it work with shortvrb.sty (also loaded by
   ;; doc.sty) where |...| is allowed.  Arbitrary delimiters may be




reply via email to

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