(calc-do-embedded): Put data on stack before changing modes.
+2005-03-21 Jay Belanger <belanger@truman.edu>
+
+ * calc/calc-embed.el (calc-do-embedded): Put data on stack before
+ changing modes.
+
2005-03-21 Sam Steingold <sds@gnu.org>
* add-log.el (add-log-current-defun): Support more C DEFUN forms.
(calc-wrapper
(let* ((okay nil)
(calc-no-refresh-evaltos t))
- (setq chg (calc-embedded-set-modes
- (aref info 15) (aref info 12) (aref info 13)))
(if (aref info 8)
- (calc-push (calc-normalize (aref info 8)))
+ (progn
+ (calc-push (calc-normalize (aref info 8)))
+ (setq chg (calc-embedded-set-modes
+ (aref info 15) (aref info 12) (aref info 13))))
+ (setq chg (calc-embedded-set-modes
+ (aref info 15) (aref info 12) (aref info 13)))
(calc-alg-entry)))
(setq calc-undo-list nil
calc-redo-list nil