Mercurial > emacs
changeset 62164:8a30a4431922
(calc-save-modes): Reset the modes list if Calc is in embedded mode.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sat, 07 May 2005 21:19:29 +0000 |
parents | 6d426f390185 |
children | a27ed02e5a65 |
files | lisp/calc/calc-mode.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc-mode.el Sat May 07 21:07:03 2005 +0000 +++ b/lisp/calc/calc-mode.el Sat May 07 21:19:29 2005 +0000 @@ -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