* calc/calc.el (calc-ensure-consistent-units): New variable.
authorJay Belanger <jay.p.belanger@gmail.com>
Sat, 19 May 2012 03:00:48 +0000 (22:00 -0500)
committerJay Belanger <jay.p.belanger@gmail.com>
Sat, 19 May 2012 03:00:48 +0000 (22:00 -0500)
commitd14b00297f7968ee861500dbf79f79ad8c77e494
treedbe2d8374682a9619db07e238c5511af44bfa928
parent6d1a623ec4125ba74f482c4610abe696abd97c5e
* calc/calc.el (calc-ensure-consistent-units): New variable.

* calc/calc-units.el (math-consistent-units-p, math-check-unit-consistency):
  New functions.
  (calc-quick-units, calc-convert-units): Use `math-check-unit-consistency' when
  `calc-ensure-consistent-units' is non-nil.
  (calc-extract-units): Fix typo.

* doc/misc/calc.texi
  (Basic Operations on Units, Customizing Calc):
  Mention `calc-ensure-consistent-units'.
doc/misc/ChangeLog
doc/misc/calc.texi
lisp/ChangeLog
lisp/calc/calc-units.el
lisp/calc/calc.el