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>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2019.0904.210405
|
;; Version: 2019.0908.171807
|
||||||
;; Package-Requires: (oni-shackle oni-alert)
|
;; Package-Requires: (oni-shackle oni-alert)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; 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 succesfully")
|
||||||
(alert "Compilation finished with an error"))))
|
(alert "Compilation finished with an error"))))
|
||||||
|
|
||||||
(add-to-list 'shackle-rules
|
(add-to-list 'display-buffer-alist
|
||||||
'(compilation-mode :custom oni-compilation--maybe-dont-show-window
|
'("\\`\\*compilation\\*\\'" display-buffer-in-side-window
|
||||||
:fallback shackle-display-buffer
|
(side . bottom)
|
||||||
:other t :select t))
|
(slot . 0)
|
||||||
|
(window-height . 0.33)))
|
||||||
|
|
||||||
(add-hook 'compilation-filter-hook
|
(add-hook 'compilation-filter-hook
|
||||||
#'oni-compilation--ansi-color-for-compilation-filter)
|
#'oni-compilation--ansi-color-for-compilation-filter)
|
||||||
|
|
Loading…
Reference in a new issue