Created
July 30, 2011 11:27
-
-
Save IgorKarymov/1115435 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(color-theme-tangotango) | |
;;erlang | |
(setq auto-mode-alist (cons '("\\.app\\'" . erlang-mode) auto-mode-alist)) | |
(add-hook 'erlang-mode-hook 'my-erlang-mode-settings) | |
(add-hook 'erlang-mode-hook 'idle-highlight) | |
(defun my-erlang-mode-settings () | |
(setq indent-tabs-mode nil) | |
(setq tab-width 4) | |
(defun make-all () | |
(interactive) | |
(compile "make" t)) | |
(defun make-clean () | |
(interactive) | |
(compile "rebar clean" t)) | |
(global-set-key (kbd "<f11>") 'make-all) | |
(global-set-key (kbd "<f12>") 'make-clean) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment