Commit 51d6d300 authored by Jay Belanger's avatar Jay Belanger
Browse files

calc-embed.el

(calc-do-embedded): Put data on stack before changing modes.
parent 568ec09d
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.
......
......@@ -227,10 +227,13 @@ This is not required to be present for user-written mode annotations.")
(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
......
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