File: README

package info (click to toggle)
erlang-mode 2.3-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 364 kB
  • ctags: 330
  • sloc: lisp: 3,898; erlang: 209; makefile: 55
file content (29 lines) | stat: -rw-r--r-- 1,026 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

Erlang mode for Emacs, version 2.3
----------------------------------

This package provides support for the programming language Erlang.
The package provides an editing mode with lots of bells and whistles,
compilation support, and it makes it possible for the user to start
Erlang shells that run inside Emacs.

Copy the Emacs files (*.el *.elc) in this directory either to a
private direcory or to the site-lisp directory and setup your
load-path in your .emacs file accordingly. E.g. if you would copy
the emacs files to /home/user/emacs you would have to add:

  (setq load-path (cons "/home/user/emacs" load-path))

If you want to be able to run Erlang in an emacs buffer you need to
add the path to your Erlang installation. E.g. if you have installed
erlang in /usr/local/lib/erlang (the default), you would add:

  (setq erlang-root-dir "/usr/local/lib/erlang")
  (setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path))

Finally, make sure you put:

  (require 'erlang-start)

in your .emacs file. That's it!