mirror of
https://github.com/correl/dotfiles.git
synced 2024-12-18 11:06:17 +00:00
[emacs] Improve erlang configuration
This commit is contained in:
parent
7762fb8c47
commit
4e83759124
1 changed files with 8 additions and 6 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue