From: Jay Belanger Date: Wed, 20 Jun 2007 04:14:24 +0000 (+0000) Subject: (math-read-plain-expr,math-format-flat-expr-fancy): Let X-Git-Tag: emacs-pretest-23.0.90~12226 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1dccbfee1a509a36ae372648df060586b7ddd38f;p=emacs.git (math-read-plain-expr,math-format-flat-expr-fancy): Let math-expr-opers equal the function math-standard-ops rather than the variable math-standard-opers. --- diff --git a/lisp/calc/calc-ext.el b/lisp/calc/calc-ext.el index ca89928d46e..bd85bee7dc1 100644 --- a/lisp/calc/calc-ext.el +++ b/lisp/calc/calc-ext.el @@ -2960,7 +2960,7 @@ calc-kill calc-kill-region calc-yank)))) (defun math-read-plain-expr (exp-str &optional error-check) (let* ((calc-language nil) - (math-expr-opers math-standard-opers) + (math-expr-opers (math-standard-ops)) (val (math-read-expr exp-str))) (and error-check (eq (car-safe val) 'error) @@ -3116,7 +3116,7 @@ calc-kill calc-kill-region calc-yank)))) (concat (substring (symbol-name (car a)) 9) "(" (math-vector-to-string (nth 1 a) t) ")")) (t - (let ((op (math-assq2 (car a) math-standard-opers))) + (let ((op (math-assq2 (car a) (math-standard-ops)))) (cond ((and op (= (length a) 3)) (if (> prec (min (nth 2 op) (nth 3 op))) (concat "(" (math-format-flat-expr a 0) ")")