diff options
| author | Tino Calancha | 2017-05-18 14:47:06 +0900 |
|---|---|---|
| committer | Tino Calancha | 2017-05-18 14:47:06 +0900 |
| commit | c48e539226a062d01b8d5534644fae959506a743 (patch) | |
| tree | bff2bc631c358f616ab51c671c2a60201e9488a6 /src/data.c | |
| parent | eab1a6307b09180bd775cfb6bf7330eb5367bbe0 (diff) | |
| download | emacs-c48e539226a062d01b8d5534644fae959506a743.tar.gz emacs-c48e539226a062d01b8d5534644fae959506a743.zip | |
Use the expression angle units while simplifying it
Don't use the angle mode, use the angle units included
in the expression instead (Bug#23889).
* lisp/calc/calc-alg.el (calc-input-angle-units): New defun.
(math-simplify): Use it.
* lisp/calc/calc-forms.el (math-to-hms, math-from-hms):
Don't use calc-angle-mode if math-simplifying-units is non-nil.
* lisp/calc/calc-math.el (calcFunc-nroot, math-from-radians)
(math-to-radians-2, math-from-radians-2): Don't convert angle
to radians if math-simplifying-units is non-nil.
* test/lisp/calc/calc-tests.el (test-calc-23889): Add test.
Diffstat (limited to 'src/data.c')
0 files changed, 0 insertions, 0 deletions