 ;; Author: Dan Harms <danielrharms@gmail.com>
 ;; Created: Saturday, February 28, 2015
 ;; Version: 1.0
-;; Modified Time-stamp: <2016-03-12 16:17:44 dharms>
+;; Modified Time-stamp: <2016-03-22 09:38:11 dan.harms>
 ;; Keywords:
 
 ;; This program is free software; you can redistribute it and/or modify

       (not (check-compile-buffer-errors buffer)))
      (run-with-timer 2 nil
                      (lambda (buf)
                        (bury-buffer buf)
                        (if one-window-in-frame
                            (delete-window (get-buffer-window buf t))
                          (switch-to-prev-buffer (get-buffer-window buf t)
                                                 'kill))) buffer)))

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



(require 'dash)

(defvar my/compile-command)

;; automatically scroll compilation window
