(calc-edit-finish): Make sure there is more than one window before
deleting window.
This commit is contained in:
parent
6d42bedc27
commit
a1ed7becaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue