summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-10 22:10:55 +0000
committerKarl Berry <karl@freefriends.org>2019-11-10 22:10:55 +0000
commit966f3ce66328982f136ff1744dee70000acccf01 (patch)
tree72d1cd01a91bc03f1489ae7d771c7039b5b6df72 /Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
parent197c71f5ceb7bb67f1aeeff685c1e22657133929 (diff)
lwarp
git-svn-id: svn://tug.org/texlive/trunk@52729 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty12
1 files changed, 2 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
index c5c2ee4c37a..f1a339ca588 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-geometry.sty
@@ -19,16 +19,8 @@
\LWR@ProvidesPackageDropA{geometry}{2018/04/16}
\ifbool{LWR@allowanothergeometry}{%
-\newcommand*{\LWR@newgeometryoptions}{reset,}
-
-\DeclareOption*{%
- \edef\LWR@newgeometryoptions{\LWR@newgeometryoptions\CurrentOption,}%
-}
-\ProcessOptions\relax
-\ifdefvoid{\LWR@newgeometryoptions}{}{
- \expandafter\LWR@origgeometry\expandafter{\LWR@newgeometryoptions}
-}
-
+ \edef\LWR@tempone{reset,\@ptionlist{\@currname.\@currext}}%
+ \expandafter\LWR@origgeometry\expandafter{\LWR@tempone}%
}{}% LWR@allowanothergeometry
\renewcommand*{\geometry}[1]{}
\renewcommand*{\newgeometry}[1]{}