Created
December 16, 2011 19:54
-
-
Save argv0/1487662 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
(setq erlang-root-dir "/usr/local/lib/erlang") | |
(setq load-path (cons "/usr/local/lib/erlang/lib/tools-2.6.6.5/emacs" load-path)) | |
(setq load-path (cons "/Users/andy/.elisp" load-path)) | |
(setq exec-path (cons "/usr/local/lib/erlang/bin" exec-path)) | |
(require 'column-marker) | |
;; Local el path | |
(setq indent-tabs-mode nil) | |
(setq-default indent-tabs-mode nil) | |
(add-hook 'before-save-hook 'delete-trailing-whitespace) | |
;; if indent-tabs-mode is off, untabify before saving | |
(add-hook 'before-save-hook | |
(lambda () (if (not indent-tabs-mode) | |
(untabify (point-min) (point-max))))) | |
;; 4 space indent | |
(setq c-basic-offset 4) | |
(defun insert-ascii-dong (size) | |
(interactive "nSize: ") | |
(insert (concat "8" (make-string size ?=) "D"))) | |
(require 'erlang-start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment