Commit a1ed7bec authored by Jay Belanger's avatar Jay Belanger
Browse files

(calc-edit-finish): Make sure there is more than one window before

deleting window.
parent 6d42bedc
......@@ -528,7 +528,7 @@ To cancel the edit, simply kill the *Calc Edit* buffer."
(goto-char calc-edit-top)
(if (buffer-modified-p)
(eval calc-edit-handler))
(if one-window
(if (and one-window (not (one-window-p t)))
(delete-window))
(if (get-buffer-window return)
(select-window (get-buffer-window return))
......
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