Skip to content

Instantly share code, notes, and snippets.

@sshirokov
Created October 25, 2009 22:14
Show Gist options
  • Save sshirokov/218281 to your computer and use it in GitHub Desktop.
Save sshirokov/218281 to your computer and use it in GitHub Desktop.
Run an erlang repl with yaws loaded and serving
;; Run a emacs repl with yaws loaded and configured
(defvar yaws-path "~/Applications/YAWS")
(defun run-erlang-yaws ()
(interactive)
(let ((inferior-erlang-machine-options `("+K" "true"
"-pa" ,(concat yaws-path "/lib/yaws/ebin")
"-yaws" "debug"
"-run" "yaws"
"-yaws" "id" "default")))
(run-erlang)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment