Skip to content

Instantly share code, notes, and snippets.

@engineyard
Forked from stesla/gist:19187
Created October 23, 2008 21:07
Show Gist options
  • Save engineyard/19206 to your computer and use it in GitHub Desktop.
Save engineyard/19206 to your computer and use it in GitHub Desktop.
;; This is in erlang_mode_config.el
(provide 'erlang_mode_config)
(add-to-list 'load-path "/opt/lib/erlang/lib/tools-2.6.1/emacs")
(require 'erlang-start)
(setq erlang-indent-level 2)
(add-to-list 'exec-path "/opt/bin")
(setq erlang-root-dir "/opt")
;; This is in whitespace_config.el
(provide 'whitespace_config)
(require 'whitespace)
(autoload 'nuke-trailing-whitespace "whitespace" nil t)
(add-hook 'write-file-hooks 'nuke-trailing-whitespace)
(setq indent-tabs-mode nil)
(setq c-basic-offset 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment