From b81c4a73fb9f1977d158fa0f7c53d6bdf154db44 Mon Sep 17 00:00:00 2001 From: Jay Belanger Date: Fri, 11 Mar 2005 22:18:42 +0000 Subject: [PATCH] (calc-language-alist): New variable. --- lisp/calc/calc.el | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 99857ce05a0..24336ad9333 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -717,6 +717,20 @@ If nil, selections displayed but ignored.") (defvar var-gamma '(special-const (math-gamma-const))) (defvar var-Modes '(special-const (math-get-modes-vec))) +(defvar calc-language-alist + '((latex-mode . latex) + (tex-mode . tex) + (plain-tex-mode . tex) + (context-mode . tex) + (nroff-mode . eqn) + (pascal-mode . pascal) + (c-mode . c) + (c++-mode . c) + (fortran-mode . fortran) + (f90-mode . fortran)) + "Alist of major modes with appropriate Calc languages.") + + (mapcar (lambda (v) (or (boundp v) (set v nil))) calc-local-var-list) -- 2.39.2