mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
22 lines
688 B
EmacsLisp
22 lines
688 B
EmacsLisp
;; erlang-mode is part of the Erlang source, and I found
|
|
;; no simple way to create a el-get package. So it's one
|
|
;; more thing thats not installed through el-get.
|
|
|
|
(add-to-list 'load-path (get-config-path "mode-customizations/erlang"))
|
|
(setq erlang-root-dir "/usr/local")
|
|
(setq exec-path (cons "/usr/local/bin" exec-path))
|
|
(require 'erlang-start)
|
|
(require 'erlang-flymake)
|
|
|
|
(defun customizations-for-erlang-mode ()
|
|
(interactive)
|
|
(flyspell-prog-mode)
|
|
(linum-mode t)
|
|
(fci-mode)
|
|
(auto-complete-mode)
|
|
(setq highlight-indentation-offset 2)
|
|
(highlight-indentation-mode)
|
|
(highlight-indentation-current-column-mode))
|
|
|
|
(add-hook 'erlang-mode-hook 'customizations-for-erlang-mode)
|