Function: calc-set-language
calc-set-language is an autoloaded and byte-compiled function defined
in calc-lang.el.gz.
Signature
(calc-set-language LANG &optional OPTION NO-REFRESH)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-lang.el.gz
(defvar math-exp-str) ;; Dyn scoped
;;; Alternate entry/display languages.
(defun calc-set-language (lang &optional option no-refresh)
(setq math-expr-opers (or (get lang 'math-oper-table) (math-standard-ops))
math-expr-function-mapping (get lang 'math-function-table)
math-expr-variable-mapping (get lang 'math-variable-table)
calc-language-input-filter (get lang 'math-input-filter)
calc-language-output-filter (get lang 'math-output-filter)
calc-vector-brackets (or (get lang 'math-vector-brackets) "[]")
calc-complex-format (get lang 'math-complex-format)
calc-radix-formatter (get lang 'math-radix-formatter)
calc-function-open (or (get lang 'math-function-open) "(")
calc-function-close (or (get lang 'math-function-close) ")"))
(if no-refresh
(setq calc-language lang
calc-language-option option)
(calc-change-mode '(calc-language calc-language-option)
(list lang option) t)))