From: Jay Belanger <jay.p.belanger@gmail.com>
Date: Mon, 10 Jan 2005 05:01:27 +0000 (+0000)
Subject: (calc-embedded-subst): Replace math-multi-subst-rec, which is only
X-Git-Tag: ttn-vms-21-2-B4~2835
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7f72c3db5a74a0bcfed1ed19c00ef014bb9612e8;p=emacs.git

(calc-embedded-subst): Replace math-multi-subst-rec, which is only
supposed to be called by math-multi-subst, by math-multi-subst.
---

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index df1affc2c0e..e5e5cc56f8a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,6 +3,10 @@
 	* calc/calc.el (calc-mode-var-list-restore-saved-values):
 	Make sure settings file exists before accessing it.
 
+	* calc/calc-embed.el (calc-embedded-subst):
+	Replace math-multi-subst-rec, which is only supposed to be called
+	by math-multi-subst, by math-multi-subst.
+
 2005-01-09  Andre Spiegel  <spiegel@gnu.org>
 
 	* vc.el (vc-allow-async-revert): New user option.
diff --git a/lisp/calc/calc-embed.el b/lisp/calc/calc-embed.el
index cdab562dc21..db1acfcb145 100644
--- a/lisp/calc/calc-embed.el
+++ b/lisp/calc/calc-embed.el
@@ -885,7 +885,7 @@ The command \\[yank] can retrieve it from there."
 	(list 'calcFunc-assign
 	      (nth 1 x)
 	      (calc-embedded-subst (nth 2 x)))
-      (calc-normalize (math-evaluate-expr-rec (math-multi-subst-rec x))))))
+      (calc-normalize (math-evaluate-expr-rec (math-multi-subst x nil nil))))))
 
 (defun calc-embedded-eval-get-var (var base)
   (let ((entry base)