Created
December 9, 2014 19:01
-
-
Save kotedo/fa28d3176fe05abd0437 to your computer and use it in GitHub Desktop.
.emacs section for different Erlang setups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; BUNDLE: Erlang-mode | |
;; PURPOSE: Erlang syntax and grammar | |
;; Erlang Version R15B01_32 and R15B01_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.6.7") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.7/emacs" load-path))) | |
;; Erlang Version R15B03-1_32 and R15B03-1_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.6.8") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.8/emacs" load-path))) | |
;; Erlang Version 16B01_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.6.11") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.11/emacs" load-path))) | |
;; Erlang Version 16B03_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.6.13/emacs") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.13/emacs" load-path))) | |
;; Erlang Version 17B01_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.6.14/emacs") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.14/emacs" load-path))) | |
;; Erlang Version 17B03_64 | |
(if (file-accessible-directory-p "/usr/local/lib/erlang/lib/tools-2.7/emacs") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.7/emacs" load-path))) | |
(setq erlang-root-dir "/usr/local/lib/erlang") | |
(setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path)) | |
(require 'erlang-start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment