changeset 61883:6238d2f682a9

(calc-edit-finish): Make sure there is more than one window before deleting window.
author Jay Belanger <jay.p.belanger@gmail.com>
date Wed, 27 Apr 2005 04:35:16 +0000
parents d341e1622abb
children 45242a1c6ec2
files lisp/calc/calc-yank.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-yank.el	Wed Apr 27 00:37:59 2005 +0000
+++ b/lisp/calc/calc-yank.el	Wed Apr 27 04:35:16 2005 +0000
@@ -528,7 +528,7 @@
     (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))