changeset 37:433b27a11019

Do not count \\[5pt] as the beginning of \[ (YaTeX-in-math-mode-p).
author yuuji
date Thu, 14 Jul 1994 17:49:36 +0000
parents 47659405d1af
children 1ce952ad9c24
files yatexmth.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatexmth.el	Thu Jul 14 17:49:36 1994 +0000
+++ b/yatexmth.el	Thu Jul 14 17:49:36 1994 +0000
@@ -2,7 +2,7 @@
 ;;; YaTeX math-mode-specific functions.
 ;;; yatexmth.el rev.2
 ;;; (c )1993-1994 by HIROSE Yuuji [yuuji@ae.keio.ac.jp]
-;;; Last modified Fri Jul  8 00:48:24 1994 on figaro
+;;; Last modified Thu Jul 14 22:42:05 1994 on figaro
 ;;; $Id$
 
 ;;; [Customization guide]
@@ -459,7 +459,8 @@
 		    (if (or (= (char-after (1- me0)) ?\))
 			    (= (char-after (1- me0)) ?\]))
 			(setq nest (1+ nest))
-		      (setq nest (1- nest)))))
+		      (if (= (preceding-char) ?\\ ) nil;;\\[5pt]
+			(setq nest (1- nest))))))
 		(if (< nest 0) (throw 'open t))))
 	    t)
 	   (t (catch 'dollar

yatex.org