diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/calc/calc.el | 14 |
1 files changed, 14 insertions, 0 deletions
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.") | |||
| 717 | (defvar var-gamma '(special-const (math-gamma-const))) | 717 | (defvar var-gamma '(special-const (math-gamma-const))) |
| 718 | (defvar var-Modes '(special-const (math-get-modes-vec))) | 718 | (defvar var-Modes '(special-const (math-get-modes-vec))) |
| 719 | 719 | ||
| 720 | (defvar calc-language-alist | ||
| 721 | '((latex-mode . latex) | ||
| 722 | (tex-mode . tex) | ||
| 723 | (plain-tex-mode . tex) | ||
| 724 | (context-mode . tex) | ||
| 725 | (nroff-mode . eqn) | ||
| 726 | (pascal-mode . pascal) | ||
| 727 | (c-mode . c) | ||
| 728 | (c++-mode . c) | ||
| 729 | (fortran-mode . fortran) | ||
| 730 | (f90-mode . fortran)) | ||
| 731 | "Alist of major modes with appropriate Calc languages.") | ||
| 732 | |||
| 733 | |||
| 720 | (mapcar (lambda (v) (or (boundp v) (set v nil))) | 734 | (mapcar (lambda (v) (or (boundp v) (set v nil))) |
| 721 | calc-local-var-list) | 735 | calc-local-var-list) |
| 722 | 736 | ||