 ;; 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

    ))

(defvar my/compile-command-fn #'create-compile-command)
(defun my/compile() (interactive)
  (setq one-window-in-frame (one-window-p t))
  (when (setq my/compile-command (funcall my/compile-command-fn))
    (setq compile-command my/compile-command)
    (call-interactively 'compile)))
(defun my/recompile() (interactive)
  (setq one-window-in-frame (one-window-p t))
  (call-interactively 'recompile))

(add-hook 'compilation-start-hook (lambda (process)


(require 'dash)

(defvar my/compile-command)

;; automatically scroll compilation window
