summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-30 01:16:33 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2010-03-30 01:16:33 +0200
commitfaefe8fd2224ae2e65ddb5d26e8f50cb1b92ca5c (patch)
tree765a40f04be1a3305571a7694e73391477f24f2f
parent65d143e80ed5dec49ec3c8cefee04a835f8929e1 (diff)
downloadluatexbase-faefe8fd2224ae2e65ddb5d26e8f50cb1b92ca5c.tar.gz
Rm useless use of module().
-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}
%