Show compilation buffers in side windows
This commit is contained in:
parent
a8e05a6b48
commit
b8f4185e08
1 changed files with 6 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue