emacs: moving to shell after compile

Doug Edmunds (gmail) <>
Thu Apr 29 21:02:20 CEST 2010


I have erlang-mode in .emacs:

(setq load-path (cons  "C:/home/erl5.7.5/lib/tools-2.6.5.1/emacs"
       load-path))
       (setq erlang-root-dir "C:/home/erl5.7.5")
       (setq exec-path (cons "C:/home/erl5.7.5/bin" exec-path))
       (require 'erlang-start)

/lib/tools-2.6.5.1/emacs has:
erlang.el
erlang-eunit.el
erlang-skels.el
erlang-start.el

I want C-C C-K to jump to the shell after compiling.

I included (global-set-key [f12] 'other-window) so I can do
this manually, but I'd like it to be automatic.

What is the lisp code to use and which file should it go in?

--dae


More information about the erlang-questions mailing list