打开emacs配置文件, 输入配置文件

(setq load-path (cons "*erlang安装目录*/lib/tools-*version*/emacs" load-path))
(setq erlang-root-dir "*erlang安装目录*")
(setq exec-path (cons "*erlang安装目录*/bin" exec-path))
(require 'erlang-start)

用emacs打开任意一个*.erl源文件, 在菜单栏将会看到Erlang菜单选项.

打开erlang终端C-c C-z

编译文件C-c C-k



blog comments powered by Disqus