]> git.eshelyaron.com Git - emacs.git/commit
Handle the `neg' operator in some calc-units functions.
authorWolfgang Jenkner <wjenkner@inode.at>
Thu, 15 Jan 2015 19:02:17 +0000 (20:02 +0100)
committerWolfgang Jenkner <wjenkner@inode.at>
Thu, 15 Jan 2015 22:54:00 +0000 (23:54 +0100)
commit2290000ed69b1157739c280f090e5b60112e83fe
treef99e98a90548c979fa53347344d307bf25f225c1
parentb577fe28c73cacfd1e81dca5ebf8cc7b0830d957
Handle the `neg' operator in some calc-units functions.

* 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.
lisp/ChangeLog
lisp/calc/calc-units.el
test/ChangeLog
test/automated/calc-tests.el