Commit d6ffd3f8 authored by Jay Belanger's avatar Jay Belanger
Browse files

* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted

  variables as units.
parent a918ed9b
2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
variables as units.
2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
 
* emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
......
......@@ -960,7 +960,10 @@ If EXPR is nil, return nil."
(if (eq base 'pi)
(math-pi)
expr)))
(if (Math-primp expr)
(if (or
(Math-primp expr)
(and (eq (car-safe expr) 'calcFunc-subscr)
(eq (car-safe (nth 1 expr)) 'var)))
expr
(cons (car expr)
(mapcar 'math-to-standard-rec (cdr expr))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment