math-exp-pos (match-end 0)
math-expr-data (math-restore-dashes
(math-match-substring math-exp-str 1)))
- (let ((code (assoc math-expr-data math-tex-ignore-words)))
+ (let ((code (assoc math-expr-data math-tex-ignore-words))
+ envname)
(cond ((null code))
((null (cdr code))
(math-read-token))
(string= envname "bmatrix")
(string= envname "smallmatrix")
(string= envname "pmatrix"))
- (if (setq j (string-match (concat "\\\\end{" envname "}")
- math-exp-str math-exp-pos))
+ (if (string-match (concat "\\\\end{" envname "}")
+ math-exp-str math-exp-pos)
(setq math-exp-str
(replace-match "]" t t math-exp-str))
(error "%s" (concat "No closing \\end{" envname "}"))))))