From 51b74f32037c7380e1d3e4d91a972889930b64e9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Sat, 21 May 2011 12:36:20 +0200
Subject: Fix \unsetluatexattribute.

---
 luatexbase-attr.dtx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'luatexbase-attr.dtx')

diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx
index 03653b7..78602d3 100644
--- a/luatexbase-attr.dtx
+++ b/luatexbase-attr.dtx
@@ -113,7 +113,7 @@ See source file '\inFileName' for details.
 %   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %   Right brace   \}     Tilde         \~}
 %
-% \pkdate{luatexbase-attr}{v0.3 2010-05-27}
+% \pkdate{luatexbase-attr}{v0.31 2011-05-21}
 %
 % \maketitle
 %
@@ -234,7 +234,7 @@ See source file '\inFileName' for details.
     \let\x\ProvidesPackage
   \fi
 \expandafter\endgroup
-\x{luatexbase-attr}[2010/10/10 v0.3 Attributes allocation for LuaTeX]
+\x{luatexbase-attr}[2011/05/21 v0.31 Attributes allocation for LuaTeX]
 %    \end{macrocode}
 %
 %    Make sure \luatex is used.
@@ -324,10 +324,10 @@ See source file '\inFileName' for details.
 %
 %    \begin{macrocode}
 \def\unsetluatexattribute#1{%
-  \begingroup\escapechar\m@ne
-  \luatexbase@directlua{%
-    luatexbase.unset_attribute("\luatexluaescapestring{\string#1}")}%
-  \endgroup}
+  \begingroup\escapechar\m@ne \edef\x{\endgroup
+    \noexpand\luatexbase@directlua{%
+      luatexbase.unset_attribute("\luatexluaescapestring{\string#1}")}%
+  }\x}
 %    \end{macrocode}
 %
 %    And now the trivial helper macro.
-- 
cgit v1.2.3

