From: Jay Belanger Date: Sat, 7 May 2005 21:19:29 +0000 (+0000) Subject: (calc-save-modes): Reset the modes list if Calc is in embedded mode. X-Git-Tag: ttn-vms-21-2-B4~453 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=501d31b024f1384b7fe80d7c13138efd477b36b2;p=emacs.git (calc-save-modes): Reset the modes list if Calc is in embedded mode. --- diff --git a/lisp/calc/calc-mode.el b/lisp/calc/calc-mode.el index 389b52385b6..1c5bd29e804 100644 --- a/lisp/calc/calc-mode.el +++ b/lisp/calc/calc-mode.el @@ -304,7 +304,9 @@ vals (cdr vals)))) (run-hooks 'calc-mode-save-hook) (insert ";;; End of mode settings\n") - (save-buffer)))) + (save-buffer) + (if calc-embedded-info + (calc-embedded-save-original-modes))))) (defun calc-settings-file-name (name &optional arg) (interactive