;;(server-start)
(setq load-path (cons “~/emacs/site-lisp/” load-path))
(setq load-path (cons “~/emacs/distel/elisp/” load-path)) (setq load-path (cons “/usr/local/lib/erlang/lib/tools-2.8.5/emacs” load-path))
(add-to-list ‘auto-mode-alist ‘(“\.erl$” . erlang-mode)) (add-to-list ‘auto-mode-alist ‘(“\.hrl?$” . erlang-mode))
(setq-default show-trailing-whitespace t)
(defvar cleanup-whitespace (lambda() (add-hook ‘local-write-file-hooks ‘(lambda() (save-excursion (delete-trailing-whitespace))))))