mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-08 15:35:02 +00:00
(math-read-token): Add local variable.
This commit is contained in:
parent
3f9526a371
commit
dba763eec4
@ -784,7 +784,8 @@ in Calc algebraic input.")
|
||||
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))
|
||||
@ -801,8 +802,8 @@ in Calc algebraic input.")
|
||||
(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 "}"))))))
|
||||
|
Loading…
Reference in New Issue
Block a user