aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pants.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/pants.el b/pants.el
index 0cb2fb2..e5e9cda 100644
--- a/pants.el
+++ b/pants.el
@@ -120,7 +120,7 @@
(zerop code)
(and pants-bury-compilation-buffer t))
(bury-buffer (get-buffer *pants-compilation-buffer*))
- (delete-window (get-buffer-window (get-buffer *pants-compilation-buffer*))))
+ (replace-buffer-in-windows (get-buffer *pants-compilation-buffer*)))
(cons msg code))))
(defun pants--compile (command)