Mercurial > emacs
changeset 60569:a91fcdcbdd69
(calc-language-alist): New variable.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Fri, 11 Mar 2005 22:18:42 +0000 |
parents | e2cd8a11381a |
children | ddc2516ce1ec |
files | lisp/calc/calc.el |
diffstat | 1 files changed, 14 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc.el Fri Mar 11 21:44:42 2005 +0000 +++ b/lisp/calc/calc.el Fri Mar 11 22:18:42 2005 +0000 @@ -717,6 +717,20 @@ (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)