(calc-language-alist): New variable.
This commit is contained in:
parent
3ee0c967ef
commit
b81c4a73fb
1 changed files with 14 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue