1
;; installed in a subdirectory of the respective site-lisp directory.
2
;; We have to add this to the load-path:
3
(setq load-path (cons (concat "/usr/share/"
4
(symbol-name debian-emacs-flavor)
5
"/site-lisp/erlang") load-path))
6
(setq erlang-root-dir "/usr/lib/erlang")
7
(setq exec-path (cons "/usr/lib/erlang/bin" exec-path))
8
(require 'erlang-start)
10
;; (setq auto-mode-alist (cons '("\\.erl$" . erlang-mode) auto-mode-alist))
11
;; (setq auto-mode-alist (cons '("\\.hrl$" . erlang-mode) auto-mode-alist))