changeset 59813:eae40eb7229e

(calc-language): Adjust docstring. (calc-set-mode-line): Add LaTeX support. (math-expr-special-function-mapping): New variable.
author Jay Belanger <jay.p.belanger@gmail.com>
date Mon, 31 Jan 2005 06:29:39 +0000
parents fb44bc67721e
children 53059b002005
files lisp/calc/calc.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Mon Jan 31 06:28:06 2005 +0000
+++ b/lisp/calc/calc.el	Mon Jan 31 06:29:39 2005 +0000
@@ -405,6 +405,7 @@
   pascal	Use Pascal language notation.
   fortran	Use Fortran language notation.
   tex		Use TeX notation.
+  latex         Use LaTeX notation.
   eqn		Use eqn notation.
   math		Use Mathematica(tm) notation.
   maple		Use Maple notation.")
@@ -704,6 +705,7 @@
 (defvar math-eval-rules-cache-tag t)
 (defvar math-radix-explicit-format t)
 (defvar math-expr-function-mapping nil)
+(defvar math-expr-special-function-mapping nil)
 (defvar math-expr-variable-mapping nil)
 (defvar math-read-expr-quotes nil)
 (defvar math-working-step nil)
@@ -1368,6 +1370,7 @@
 		     (if calc-leading-zeros "Zero " "")
 		     (cond ((null calc-language) "")
 			   ((eq calc-language 'tex) "TeX ")
+			   ((eq calc-language 'latex) "LaTeX ")
 			   (t (concat
 			       (capitalize (symbol-name calc-language))
 			       " ")))