diff options
author | Jay Belanger <[email protected]> | 2008-11-04 23:52:15 +0000 |
---|---|---|
committer | Jay Belanger <[email protected]> | 2008-11-04 23:52:15 +0000 |
commit | bc6922de399fdccbbe69f2f2fc026c5a15a96b19 (patch) | |
tree | 6837a12639d606d9f99a75c04b349a448703e60f /lisp/calc/calc.el | |
parent | 650d0dbc021c3fca7ace3db28eded4701108f5d0 (diff) |
(calc-quit): Make sure that the keypad buffer exists before delete its windows.
Diffstat (limited to 'lisp/calc/calc.el')
-rw-r--r-- | lisp/calc/calc.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index d49e2bd2aa..4c6375b118 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -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)))))) |