mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(calc-quit): Make sure that the keypad buffer exists before delete its windows.
This commit is contained in:
parent
650d0dbc02
commit
bc6922de39
2 changed files with 6 additions and 1 deletions
|
|
@ -1431,7 +1431,7 @@ commands given here will actually operate on the *Calculator* stack."
|
|||
(setq calc-window-height (- (window-height win) 2)))
|
||||
(progn
|
||||
(delete-windows-on buf)
|
||||
(delete-windows-on kbuf))
|
||||
(and kbuf (delete-windows-on kbuf)))
|
||||
(bury-buffer buf)
|
||||
(bury-buffer calc-trail-buffer)
|
||||
(and kbuf (bury-buffer kbuf))))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue