diff options
author | Tom Willemse | 2019-09-08 17:18:12 -0700 |
---|---|---|
committer | Tom Willemse | 2019-09-08 17:18:12 -0700 |
commit | b8f4185e087469cd3e9d3f7340a1d2bf1797e72b (patch) | |
tree | 4f9b39ac2b13d954cef0a903de8e99b935fc7c57 /oni-compilation.el | |
parent | a8e05a6b484f4ae67f8c6148e8db8882a357d132 (diff) | |
download | emacs-config-b8f4185e087469cd3e9d3f7340a1d2bf1797e72b.tar.gz emacs-config-b8f4185e087469cd3e9d3f7340a1d2bf1797e72b.zip |
Show compilation buffers in side windows
Diffstat (limited to 'oni-compilation.el')
-rw-r--r-- | oni-compilation.el | 11 |
1 files changed, 6 insertions, 5 deletions
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 <tom@ryuslash.org> ;; 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) |