changeset 59830:d46309369c36

(math-tex-ignore-words): Remove LaTeX portion. (math-latex-ignore-words): New constant.
author Jay Belanger <jay.p.belanger@gmail.com>
date Mon, 31 Jan 2005 21:53:55 +0000
parents 502b609847e8
children 4346e62d3d4f
files lisp/calc/calc.el
diffstat 1 files changed, 6 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Mon Jan 31 21:53:21 2005 +0000
+++ b/lisp/calc/calc.el	Mon Jan 31 21:53:55 2005 +0000
@@ -3223,8 +3223,11 @@
      ("\\matrix" mat) ("\\bmatrix" mat) ("\\pmatrix" mat)
      ("\\begin" begenv)
      ("\\cr" punc ";") ("\\\\" punc ";") ("\\*" punc "*")
-     ("\\{" punc "[") ("\\}" punc "]")
-))
+     ("\\{" punc "[") ("\\}" punc "]")))
+
+(defconst math-latex-ignore-words
+  (append math-tex-ignore-words
+          '(("\\begin" begenv))))
 
 (defconst math-eqn-ignore-words
   '( ("roman") ("bold") ("italic") ("mark") ("lineup") ("evalto")
@@ -3232,8 +3235,7 @@
      ("right" ("floor") ("ceil"))
      ("arc" ("sin") ("cos") ("tan") ("sinh") ("cosh") ("tanh"))
      ("size" n) ("font" n) ("fwd" n) ("back" n) ("up" n) ("down" n)
-     ("above" punc ",")
-))
+     ("above" punc ",")))
 
 (defconst math-standard-opers
   '( ( "_"     calcFunc-subscr 1200 1201 )