summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--luatexbase-modutils.dtx12
2 files changed, 0 insertions, 13 deletions
diff --git a/TODO b/TODO
index 9f5fc7b..9edec24 100644
--- a/TODO
+++ b/TODO
@@ -5,7 +5,6 @@ modutils
\luatexUseModule
\luatexRequireModule
\luatexModuleError
-- stop using module() inside functions
- Make more Lua objects local.
- logic (see what LaTeX2e does)
- syntax of public TeX macros and Lua functions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx
index b35a2cf..f3f0d35 100644
--- a/luatexbase-modutils.dtx
+++ b/luatexbase-modutils.dtx
@@ -310,15 +310,6 @@ local format = string.format
luatexbase.modules = luatexbase.modules or {}
% \end{macrocode}
%
-% A small patch, for the \texttt{module} function to work in this file. I
-% can't understand why it doens't otherwise.
-%
-% \begin{macrocode}
-
-luatexbase.module = module
-
-% \end{macrocode}
-%
% Here we define the warning and error functions specific to
% \texttt{luatexbase}.
%
@@ -411,9 +402,6 @@ function use_module(name)
.."%s but the file %s does not provide it.",
name, internal_warning_spaces, filename))
end
- if not package.loaded[name] then
- module(name, package.seeall)
- end
end
% \end{macrocode}
%