]> code.delx.au - gnu-emacs-elpa/commitdiff
Fix #8: Avoid closing ECB compilation window
authorLeo Liu <sdl.web@gmail.com>
Wed, 29 May 2013 00:43:02 +0000 (08:43 +0800)
committerLeo Liu <sdl.web@gmail.com>
Wed, 29 May 2013 00:43:02 +0000 (08:43 +0800)
ggtags.el

index a41079f32d46abc8443ada9f8170b320526c3c88..4262e189381e325b76703cf07b82fe3c58cf4fb3 100644 (file)
--- 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 ()