From 190e6483ae66769e031c9b1ef0ca75d5fabe3e26 Mon Sep 17 00:00:00 2001 From: etnt Date: Wed, 4 Jan 2006 09:33:20 +0000 Subject: Added a stop/0 function which doesn't halt the Erlang node. Right now it does a init:restart/0, but it should probably do something nicer. Also, added some info in the TOUR file. --- doc/TOUR | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/TOUR') diff --git a/doc/TOUR b/doc/TOUR index 4f61132..cd1ed61 100644 --- a/doc/TOUR +++ b/doc/TOUR @@ -106,6 +106,21 @@ Multiple buffers You can use "C-x C-f" to open a new file, and then "C-x b" back here as you would in emacs (but without the completions). + +The ~/.ermacs file +------------------ + +Works similar to the ~/.erlang file, i.e you can put erlang +code there to be evaluated. For example, if you want to redefine +the global keymap so that "C-x C-c" doesn't halt the Erlang node, +the add a line such as: + + edit_keymap:global_set_key("C-x C-c", {edit_lib, stop, []}). + +to your ~/.ermacs file. +(make sure that you make a newline after the dot) + + Other stuff ----------- @@ -113,3 +128,8 @@ To see what else there is, look in the keymap definition: C-x C-f ../src/edit_globalmap.erl RET +If you want to change the foreground/background colors, you +can set the COLORFGBG environment variable like this: + + export COLORFGBG="green;black" + -- cgit v1.2.3