[emacs] Improve erlang configuration

This commit is contained in:
Correl Roush 2015-04-29 21:22:58 -04:00
parent 7762fb8c47
commit 4e83759124

View file

@ -528,14 +528,16 @@ Communicates with the clojure REPL.
:mode "\\.hy$") :mode "\\.hy$")
#+END_SRC #+END_SRC
** Erlang ** Erlang
A distributed, fault-tolerant functional language.
#+name: programming #+name: programming
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package erlang (use-package erlang
:ensure t :ensure t
:config (add-hook 'erlang-mode-hook :mode ("\.[eh]rl$" . erlang-mode)
(lambda () :config (add-hook 'erlang-mode-hook
(setq inferior-erlang-machine-options '("-sname" "emacs" (lambda ()
"-hidden"))))) (setq inferior-erlang-machine-options '("-sname" "emacs"
"-hidden")))))
#+END_SRC #+END_SRC
** PHP ** PHP
#+name: programming #+name: programming