yatex
changeset 217:e59126447ee7 dev
Recognize null environment name as \begin{} ... \end{}.
author | yuuji@gentei.org |
---|---|
date | Fri, 13 Jan 2012 16:19:56 +0900 |
parents | c1edf0fbab32 |
children | 58a023f16e07 |
files | yatex.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yatex.el Fri Jan 13 16:17:49 2012 +0900 1.2 +++ b/yatex.el Fri Jan 13 16:19:56 2012 +0900 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; Yet Another tex-mode for emacs - //–ì’¹// 1.5 ;;; yatex.el rev. 1.75.1 1.6 ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] 1.7 -;;; Last modified Fri Jan 13 16:16:58 2012 on firestorm 1.8 +;;; Last modified Fri Jan 13 16:17:27 2012 on firestorm 1.9 ;;; $Id$ 1.10 ;;; The latest version of this software is always available at; 1.11 ;;; http://www.yatex.org/ 1.12 @@ -711,7 +711,7 @@ 1.13 (defvar YaTeX-struct-end 1.14 (concat YaTeX-ec "end{%1}") 1.15 "Keyword format of end-environment.") 1.16 -(defvar YaTeX-struct-name-regexp "[^}]+" 1.17 +(defvar YaTeX-struct-name-regexp "[^}]*" 1.18 "Environment name regexp.") 1.19 (defvar YaTeX-TeX-token-regexp 1.20 (cond (YaTeX-japan "[A-Za-z*‚Ÿ-‚ñˆŸ-êž]+")