From 4e837591243f5da3b77ba926b4785b59386b910c Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Wed, 29 Apr 2015 21:22:58 -0400 Subject: [PATCH] [emacs] Improve erlang configuration --- .emacs.d/emacs.org | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.emacs.d/emacs.org b/.emacs.d/emacs.org index 9234968..5242a89 100644 --- a/.emacs.d/emacs.org +++ b/.emacs.d/emacs.org @@ -528,14 +528,16 @@ Communicates with the clojure REPL. :mode "\\.hy$") #+END_SRC ** Erlang +A distributed, fault-tolerant functional language. #+name: programming #+BEGIN_SRC emacs-lisp - (use-package erlang - :ensure t - :config (add-hook 'erlang-mode-hook - (lambda () - (setq inferior-erlang-machine-options '("-sname" "emacs" - "-hidden"))))) + (use-package erlang + :ensure t + :mode ("\.[eh]rl$" . erlang-mode) + :config (add-hook 'erlang-mode-hook + (lambda () + (setq inferior-erlang-machine-options '("-sname" "emacs" + "-hidden"))))) #+END_SRC ** PHP #+name: programming