]> git.eshelyaron.com Git - emacs.git/commitdiff
(math-read-big-expr): Make LaTeX the default TeX mode.
authorJay Belanger <jay.p.belanger@gmail.com>
Mon, 31 Jan 2005 21:52:49 +0000 (21:52 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Mon, 31 Jan 2005 21:52:49 +0000 (21:52 +0000)
lisp/calc/calc-ext.el

index 9a79032b8db990750bf8b49097ae14cf80d52b29..374e89ec1f13b1c476dc96ed7f88ae3ad594d29f 100644 (file)
@@ -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)