From: Leo Liu Date: Wed, 29 May 2013 00:43:02 +0000 (+0800) Subject: Fix #8: Avoid closing ECB compilation window X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/2cbe8d9cbd9151ca94b970eb567bba073fa088ff Fix #8: Avoid closing ECB compilation window --- diff --git a/ggtags.el b/ggtags.el index a41079f32..4262e1893 100644 --- a/ggtags.el +++ b/ggtags.el @@ -367,7 +367,7 @@ When called with prefix, ask the name and kind of tag." (kill-compilation)) (when (and (derived-mode-p 'ggtags-global-mode) (get-buffer-window)) - (delete-window (get-buffer-window))) + (quit-window nil (get-buffer-window))) (and time (run-with-idle-timer time nil 'kill-buffer buf)))))) (defun ggtags-navigation-mode-done ()