summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorJay Belanger <jay.p.belanger@gmail.com>2005-01-31 21:52:49 +0000
committerJay Belanger <jay.p.belanger@gmail.com>2005-01-31 21:52:49 +0000
commit86e3afd3bda5847cc131caa084115bec7d4063ae (patch)
treef1fe2da954dc6c694076eed8eb609ad9d14b92dc /lisp/calc
parent316fc0cc95c3970ffc1d188468a20321f24d7e0b (diff)
downloademacs-86e3afd3bda5847cc131caa084115bec7d4063ae.tar.gz
(math-read-big-expr): Make LaTeX the default TeX mode.
Diffstat (limited to 'lisp/calc')
-rw-r--r--lisp/calc/calc-ext.el10
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))))
(setq str (concat (substring str 0 (match-beginning 0))
(substring str (match-end 0)))))
(if (string-match "\\\\[^ \n|]" str)
- (if (eq calc-language 'tex)
+ (if (eq calc-language 'latex)
(math-read-expr str)
- (let ((calc-language 'tex)
+ (let ((calc-language 'latex)
(calc-language-option nil)
- (math-expr-opers (get 'tex 'math-oper-table))
- (math-expr-function-mapping (get 'tex 'math-function-table))
- (math-expr-variable-mapping (get 'tex 'math-variable-table)))
+ (math-expr-opers (get 'latex 'math-oper-table))
+ (math-expr-function-mapping (get 'latex 'math-function-table))
+ (math-expr-variable-mapping (get 'latex 'math-variable-table)))
(math-read-expr str)))
(let ((math-read-big-lines nil)
(pos 0)