1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

calccomp.el (math-compose-expr): Use parentheses when

there is a product in the denominator of a fraction.
This commit is contained in:
Jay Belanger 2012-07-26 22:48:40 -05:00
parent 6195f3845d
commit ca1302a40a
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calccomp.el (math-compose-expr): Use parentheses when
there is a product in the denominator of a fraction.
2012-07-26 Eli Zaretskii <eliz@gnu.org>
* makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)

View File

@ -87,7 +87,8 @@
sn)))
(defun math-compose-expr (a prec)
(let ((math-compose-level (1+ math-compose-level))
(let ((calc-multiplication-has-precedence nil)
(math-compose-level (1+ math-compose-level))
(math-expr-opers (math-expr-ops))
spfn)
(cond