From 69067699725b00e6cdfec9d16e4f3f0b721b96eb Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 31 May 2013 21:33:34 -0400 Subject: [PATCH] [emacs] Add projmake-mode for erlang --- .emacs.d/Carton | 1 + .emacs.d/init.el | 6 ++++++ 2 files changed, 7 insertions(+) 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))