Commit da6b9bf4 authored by Jay Belanger's avatar Jay Belanger

(calc-set-mode-line): Use `math-lang-name' to set language name.

parent c65d0380
2007-12-11 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-lang.el (math-lang-name): New property name.
* calc/calc.el (calc-set-mode-line): Use `math-lang-name'
to set language name.
2007-12-10 Yoni Rabkin Katzenell <yoni-r@actcom.com> (tiny change)
* file.el (revert-buffer): Eliminate overlays and the mark.
......
......@@ -1675,8 +1675,8 @@ See calc-keypad for details."
(t (format "Radix%d " calc-number-radix)))
(if calc-leading-zeros "Zero " "")
(cond ((null calc-language) "")
((eq calc-language 'tex) "TeX ")
((eq calc-language 'latex) "LaTeX ")
((get calc-language 'math-lang-name)
(concat (get calc-language 'math-lang-name) " "))
(t (concat
(capitalize (symbol-name calc-language))
" ")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment