+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
(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))))))