• Wolfgang Jenkner's avatar
    Backport: Handle the `neg' operator in some calc-units functions. · 3a345b50
    Wolfgang Jenkner authored
    * lisp/calc/calc-units.el (math-units-in-expr-p)
    (math-single-units-in-expr-p, math-find-compatible-unit-rec)
    (math-extract-units): Handle the `neg' operator.  (Bug#19582)
    * test/automated/calc-tests.el (calc-tests-equal, calc-tests-simple):
    New functions.
    (test-calc-remove-units, test-calc-extract-units)
    (test-calc-convert-units): New tests.
    3a345b50
ChangeLog 68.2 KB