Skip to content

Prelude Erlang

Note

This module builds on top of the shared Programming module.

Erlang Mode

This module bundles erlang-mode for editing Erlang source files. The mode is part of the official Erlang/OTP distribution.

Flymake

When erlang-start is available, flymake-mode is enabled for on-the-fly syntax checking.

Projectile Integration

When Projectile is enabled, the module configures erlang-compile-function to use projectile-compile-project, so that C-c C-k compiles using your project's build tool.

Wrangler

Wrangler is an Erlang refactoring tool. To enable it, set the wrangler-path variable to the location of the Wrangler Elisp directory in your personal config:

(setq wrangler-path "/path/to/wrangler/elisp")