summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2017-02-03 15:17:06 -0800
committerFranck Cuny <franck.cuny@gmail.com>2017-02-03 15:17:06 -0800
commit8096104f3e0f4603fdfa7ca3377f2cab0931fc5c (patch)
tree42d24d2fa5c6cf06d7fbb4842acff45f1e912206
parent[bin] Remove 'science' (diff)
downloademacs.d-8096104f3e0f4603fdfa7ca3377f2cab0931fc5c.tar.gz
[Emacs] Use pop-win for pants' buffer.
Display the buffer in a pop-up window.
-rw-r--r--emacs.d/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index 13ed7e0..558b318 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -403,6 +403,13 @@
 ;;   :config
 ;;   (setq diffusion-repo-prefix-list '(("source" "source"))))
 
+(use-package popwin
+  :ensure t
+  :config
+  (setq popwin:popup-window-position 'bottom)
+  (setq popwin:special-display-config '(("*compilation*" :noselect t)))
+  (push '("*pants-compilation-buffer*" :height 20 :noselect t :stick t :tail t) popwin:special-display-config))
+
 (use-package projectile
   ;; library to interact with projects
   :ensure t