]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-edit-finish): Make sure there is more than one window before
authorJay Belanger <jay.p.belanger@gmail.com>
Wed, 27 Apr 2005 04:35:16 +0000 (04:35 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Wed, 27 Apr 2005 04:35:16 +0000 (04:35 +0000)
deleting window.

lisp/calc/calc-yank.el

index 339dfd838a4e254866357dd4476062baee8d2a0d..c15724ccde78d0d4faddea03806db4473cd46075 100644 (file)
@@ -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))