From b8f4185e087469cd3e9d3f7340a1d2bf1797e72b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 8 Sep 2019 17:18:12 -0700 Subject: Show compilation buffers in side windows --- oni-compilation.el | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'oni-compilation.el') diff --git a/oni-compilation.el b/oni-compilation.el index c7ad6fa..7695577 100644 --- a/oni-compilation.el +++ b/oni-compilation.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2019.0904.210405 +;; Version: 2019.0908.171807 ;; Package-Requires: (oni-shackle oni-alert) ;; This program is free software; you can redistribute it and/or modify @@ -60,10 +60,11 @@ status of the process." (alert "Compilation finished succesfully") (alert "Compilation finished with an error")))) -(add-to-list 'shackle-rules - '(compilation-mode :custom oni-compilation--maybe-dont-show-window - :fallback shackle-display-buffer - :other t :select t)) +(add-to-list 'display-buffer-alist + '("\\`\\*compilation\\*\\'" display-buffer-in-side-window + (side . bottom) + (slot . 0) + (window-height . 0.33))) (add-hook 'compilation-filter-hook #'oni-compilation--ansi-color-for-compilation-filter) -- cgit v1.2.3-54-g00ecf