yatex
diff yatexenv.el @ 492:a2bb2426a154
rm comment.el
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sun, 10 Sep 2017 21:47:14 +0859 |
parents | 2d9589a786d1 |
children | c0827f80b18e |
line diff
1.1 --- a/yatexenv.el Tue Feb 21 15:56:22 2017 +0859 1.2 +++ b/yatexenv.el Sun Sep 10 21:47:14 2017 +0859 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yatexenv.el --- YaTeX environment-specific functions 1.5 ;;; (c) 1994-2017 by HIROSE Yuuji.[yuuji@yatex.org] 1.6 -;;; Last modified Thu Jan 5 17:45:53 2017 on firestorm 1.7 +;;; Last modified Thu May 4 10:19:20 2017 on firestorm 1.8 ;;; $Id$ 1.9 1.10 ;;; Code: 1.11 @@ -391,6 +391,11 @@ 1.12 1.13 (fset 'YaTeX-enclose-eqnarray 'YaTeX-enclose-equation) 1.14 (fset 'YaTeX-enclose-eqnarray* 'YaTeX-enclose-equation) 1.15 +(mapcar (function ;; Add all AMS LaTeX envs 1.16 + (lambda (sym) 1.17 + (fset (intern (concat "YaTeX-enclose-" (car sym))) 1.18 + 'YaTeX-enclose-equation))) 1.19 + YaTeX-ams-math-begin-alist) 1.20 1.21 (defun YaTeX-enclose-verbatim (beg end)) ;do nothing when enclose verbatim 1.22 (fset 'YaTeX-enclose-verbatim* 'YaTeX-enclose-verbatim)