* calc/calc-units.el (calc-quick-units): Use the proper units expression.

This commit is contained in:
Jay Belanger 2012-05-18 22:11:09 -05:00
parent cd3466e6a5
commit 6b38973b8e

View file

@ -374,7 +374,7 @@ Entries are (SYMBOL EXPR DOC-STRING TEMP-TYPE BASE-UNITS).")
(if (math-units-in-expr-p expr nil)
(progn
(if calc-ensure-consistent-units
(math-check-unit-consistency expr units))
(math-check-unit-consistency expr (nth pos units)))
(calc-enter-result 1 (format "cun%d" num)
(math-convert-units expr (nth pos units))))
(calc-enter-result 1 (format "*un%d" num)