diff options
| author | Jay Belanger | 2005-01-31 21:52:49 +0000 |
|---|---|---|
| committer | Jay Belanger | 2005-01-31 21:52:49 +0000 |
| commit | 86e3afd3bda5847cc131caa084115bec7d4063ae (patch) | |
| tree | f1fe2da954dc6c694076eed8eb609ad9d14b92dc | |
| parent | 316fc0cc95c3970ffc1d188468a20321f24d7e0b (diff) | |
| download | emacs-86e3afd3bda5847cc131caa084115bec7d4063ae.tar.gz emacs-86e3afd3bda5847cc131caa084115bec7d4063ae.zip | |
(math-read-big-expr): Make LaTeX the default TeX mode.
| -rw-r--r-- | lisp/calc/calc-ext.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index 9a79032b8db..374e89ec1f1 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el | |||
| @@ -2947,13 +2947,13 @@ calc-kill calc-kill-region calc-yank)))) | |||
| 2947 | (setq str (concat (substring str 0 (match-beginning 0)) | 2947 | (setq str (concat (substring str 0 (match-beginning 0)) |
| 2948 | (substring str (match-end 0))))) | 2948 | (substring str (match-end 0))))) |
| 2949 | (if (string-match "\\\\[^ \n|]" str) | 2949 | (if (string-match "\\\\[^ \n|]" str) |
| 2950 | (if (eq calc-language 'tex) | 2950 | (if (eq calc-language 'latex) |
| 2951 | (math-read-expr str) | 2951 | (math-read-expr str) |
| 2952 | (let ((calc-language 'tex) | 2952 | (let ((calc-language 'latex) |
| 2953 | (calc-language-option nil) | 2953 | (calc-language-option nil) |
| 2954 | (math-expr-opers (get 'tex 'math-oper-table)) | 2954 | (math-expr-opers (get 'latex 'math-oper-table)) |
| 2955 | (math-expr-function-mapping (get 'tex 'math-function-table)) | 2955 | (math-expr-function-mapping (get 'latex 'math-function-table)) |
| 2956 | (math-expr-variable-mapping (get 'tex 'math-variable-table))) | 2956 | (math-expr-variable-mapping (get 'latex 'math-variable-table))) |
| 2957 | (math-read-expr str))) | 2957 | (math-read-expr str))) |
| 2958 | (let ((math-read-big-lines nil) | 2958 | (let ((math-read-big-lines nil) |
| 2959 | (pos 0) | 2959 | (pos 0) |