Skip to content

Commit

Permalink
included some nice erlang stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jupp0r committed Feb 7, 2012
1 parent 871f9f3 commit 3cb0073
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions emacs/jupp.el
Expand Up @@ -21,8 +21,15 @@
(add-to-list 'load-path erlang-emacs-dir)
(setq erlang-root-dir "/usr/local/Cellar/erlang/R14B04")
(setq exec-path (cons "/usr/local/Cellar/erlang/R14B04/bin" exec-path))
(require 'erlang-start)))

(require 'erlang-start)
(require 'erlang-eunit)
(add-hook 'erlang-mode-hook
'(lambda ()
(local-set-key (kbd "C-c C-t")
'(lambda ()
(interactive)
(save-buffer)
(erlang-eunit-compile-and-run-module-tests)))))))

; window startup size
(add-to-list 'default-frame-alist '(left . 70))
Expand Down Expand Up @@ -56,4 +63,8 @@
(setq-default tab-width 2)
(setq-default indent-tabs-mode nil)
(setq-default c-basic-offset 4)
(setq-default ruby-basic-offset 2)
(setq-default ruby-basic-offset 2)

; start edit server, allows to edit stuff in browser in emacs
(require 'edit-server)
(edit-server-start)
2 changes: 1 addition & 1 deletion support/vendor/emacs-prelude
Submodule emacs-prelude updated 1 files
+1 −1 modules/prelude-packages.el

0 comments on commit 3cb0073

Please sign in to comment.