diff options
| author | Jay Belanger | 2005-02-19 19:59:49 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-02-19 19:59:49 +0000 |
| commit | dba763eec494a744c19b258647a82fed9281d4f0 (patch) | |
| tree | 7d9a6f148b3823f2653f03b4584c26b5fc608d58 | |
| parent | 3f9526a371904148524ccea298a84a5aa2078644 (diff) | |
| download | emacs-dba763eec494a744c19b258647a82fed9281d4f0.tar.gz emacs-dba763eec494a744c19b258647a82fed9281d4f0.zip | |
(math-read-token): Add local variable.
| -rw-r--r-- | lisp/calc/calc-aent.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/calc/calc-aent.el b/lisp/calc/calc-aent.el index 9a693a18466..e174d81c41d 100644 --- a/lisp/calc/calc-aent.el +++ b/lisp/calc/calc-aent.el | |||
| @@ -784,7 +784,8 @@ in Calc algebraic input.") | |||
| 784 | math-exp-pos (match-end 0) | 784 | math-exp-pos (match-end 0) |
| 785 | math-expr-data (math-restore-dashes | 785 | math-expr-data (math-restore-dashes |
| 786 | (math-match-substring math-exp-str 1))) | 786 | (math-match-substring math-exp-str 1))) |
| 787 | (let ((code (assoc math-expr-data math-tex-ignore-words))) | 787 | (let ((code (assoc math-expr-data math-tex-ignore-words)) |
| 788 | envname) | ||
| 788 | (cond ((null code)) | 789 | (cond ((null code)) |
| 789 | ((null (cdr code)) | 790 | ((null (cdr code)) |
| 790 | (math-read-token)) | 791 | (math-read-token)) |
| @@ -801,8 +802,8 @@ in Calc algebraic input.") | |||
| 801 | (string= envname "bmatrix") | 802 | (string= envname "bmatrix") |
| 802 | (string= envname "smallmatrix") | 803 | (string= envname "smallmatrix") |
| 803 | (string= envname "pmatrix")) | 804 | (string= envname "pmatrix")) |
| 804 | (if (setq j (string-match (concat "\\\\end{" envname "}") | 805 | (if (string-match (concat "\\\\end{" envname "}") |
| 805 | math-exp-str math-exp-pos)) | 806 | math-exp-str math-exp-pos) |
| 806 | (setq math-exp-str | 807 | (setq math-exp-str |
| 807 | (replace-match "]" t t math-exp-str)) | 808 | (replace-match "]" t t math-exp-str)) |
| 808 | (error "%s" (concat "No closing \\end{" envname "}")))))) | 809 | (error "%s" (concat "No closing \\end{" envname "}")))))) |