~lobisquit/emacs.d

02ac21b47b94fc734ca5425500512cda2d5a1902 — Enrico Lovisotto a month ago ea3f956
Improved compilation buffer appearance
1 files changed, 3 insertions(+), 2 deletions(-)

M init.org
M init.org => init.org +3 -2
@@ 596,14 596,15 @@ Close compilation buffer after it is successful.
          (with-current-buffer buffer
            (goto-char (point-min))
            (search-forward "warning" nil t))))
        (run-with-timer 0.5 nil
        (run-with-timer 1 nil
                        (lambda (buf)
                          (bury-buffer buf)
                          (delete-windows-on buf))
                        buffer)
      (progn
        (windmove-down)
        (compilation-next-error 1))))
        (compilation-next-error 1)
        (recenter-top-bottom 2))))

  (add-hook 'compilation-finish-functions 'bury-compile-buffer-if-successful)
#+end_src