Skip to content

Instantly share code, notes, and snippets.

Created Sep 30, 2013
What would you like to do?
Add this to your .emacs file to autoload the tools for the current erlang with
;; setup erlang mode
(setq erlang-root-dir "/Users/alex/erlangs/current")
(setq erlang-lib-dir (concat erlang-root-dir "/lib/erlang/lib"))
(setq load-path
(cons (concat erlang-lib-dir
(car (directory-files erlang-lib-dir nil "^tools\-"))
"/emacs" )
(setq exec-path (cons (concat erlang-root-dir "/" "bin") exec-path))
(require 'erlang-start)
(require 'erlang-flymake)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment