diff options
-rw-r--r-- | init.el | 1 | ||||
-rw-r--r-- | init/modes.el | 12 |
2 files changed, 9 insertions, 4 deletions
diff --git a/init.el b/init.el index 26c5dfab8216..d650eb2b590b 100644 --- a/init.el +++ b/init.el @@ -23,6 +23,7 @@ confluence dash dockerfile-mode + erlang flx-ido flycheck go-mode diff --git a/init/modes.el b/init/modes.el index c1d5c37253cd..6ed5c7ee3f49 100644 --- a/init/modes.el +++ b/init/modes.el @@ -21,10 +21,14 @@ ;; Configure Erlang mode -;; Don't indent after '>' while I'm writing -(add-hook 'erlang-mode-hook - '(lambda () - (local-set-key ">" 'self-insert-command))) +(defun erlang-mode-init-setup () + (interactive) + ;; Don't indent after '>' while I'm writing + (local-set-key ">" 'self-insert-command) + ;(local-set-key "RET" 'newline) + ) + +(add-hook 'erlang-mode-hook 'erlang-mode-init-setup) ;; Enable projectile for all things programming (add-hook 'prog-mode-hook 'projectile-mode) |