aboutsummaryrefslogtreecommitdiffhomepage
path: root/mods/src/em_stdlib.erl
diff options
context:
space:
mode:
Diffstat (limited to 'mods/src/em_stdlib.erl')
-rw-r--r--mods/src/em_stdlib.erl21
1 files changed, 21 insertions, 0 deletions
diff --git a/mods/src/em_stdlib.erl b/mods/src/em_stdlib.erl
new file mode 100644
index 0000000..1bc4687
--- /dev/null
+++ b/mods/src/em_stdlib.erl
@@ -0,0 +1,21 @@
+%%%----------------------------------------------------------------------
+%%% File : em_stdlib.erl
+%%% Author : Luke Gorrie <luke@bluetail.com>
+%%% Purpose : Module for loading the standard library of editor commands.
+%%% This module is loaded/initialised on editor startup.
+%%% Created : 29 Apr 2001 by Luke Gorrie <luke@bluetail.com>
+%%%----------------------------------------------------------------------
+
+-module(em_stdlib).
+-author('luke@bluetail.com').
+
+-export([mod_init/0]).
+
+mod_init() ->
+ lists:foreach(fun(Mod) -> edit_mod:require(Mod) end,
+ mods()).
+
+%% List of modules to be initialised at start-up.
+mods() ->
+ [em_erlang, em_scheme].
+