diff --git a/.emacs.d/Carton b/.emacs.d/Carton index 7b04934..55d8aa2 100644 --- a/.emacs.d/Carton +++ b/.emacs.d/Carton @@ -18,6 +18,7 @@ ;; Erlang (depends-on "erlang") +(depends-on "projmake-mode") ;; Haskell (depends-on "haskell-mode") diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 82dc9e3..aa59718 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -47,6 +47,12 @@ (color-theme-ld-dark) (color-theme-ld-dark)) +;; Projmake +(defun projmake-mode-hook () + (projmake-mode) + (projmake-search-load-project)) +(add-hook 'erlang-mode-hook 'projmake-mode-hook) + ;; Window transparency (set-frame-parameter (selected-frame) 'alpha '(85 50)) (add-to-list 'default-frame-alist '(alpha 85 50))