X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/86f6a31e4b41acb71ba37f3838a9ce75f7743330..9d809eaca2b424a34222f8912d58d476720ffa24:/mdwlist.dtx

diff --git a/mdwlist.dtx b/mdwlist.dtx
index f93ef07..390fe13 100644
--- a/mdwlist.dtx
+++ b/mdwlist.dtx
@@ -1,21 +1,11 @@
 % \begin{meta-comment}
 %
-% $Id: mdwlist.dtx,v 1.1 2002/02/03 20:49:03 mdw Exp $
+% $Id: mdwlist.dtx,v 1.2 2003/09/05 16:13:44 mdw Exp $
 %
 % Various list-related things
 %
 % (c) 1996 Mark Wooding
 %
-%----- Revision history -----------------------------------------------------
-%
-% $Log: mdwlist.dtx,v $
-% Revision 1.1  2002/02/03 20:49:03  mdw
-% Checkin for new build system.
-%
-% Revision 1.1  1996/11/19 20:52:26  mdw
-% Initial revision
-%
-%
 % \end{meta-comment}
 %
 % \begin{meta-comment} <general public licence>
@@ -45,7 +35,7 @@
 %<+package>                [1996/05/02 1.1 Various list-related things]
 % \end{meta-comment}
 %
-% \CheckSum{179}
+% \CheckSum{183}
 %% \CharacterTable
 %%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
 %%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -562,15 +552,17 @@
 % \end{itemize}
 %
 %    \begin{macrocode}
-\def\note{\@ifnextchar[\note@i{\note@i[Note]}}
-\def\note@i[#1]{%
-  \basedescript{%
-    \sbox\z@{\makelabel{#1}}%
-    \desclabelwidth{\wd\z@}%
-  }%
-  \item[\box\z@]%
-}
-\let\endnote\endbasedescript
+\ifx\note\@@undefined
+  \def\note{\@ifnextchar[\note@i{\note@i[Note]}}
+  \def\note@i[#1]{%
+    \basedescript{%
+      \sbox\z@{\makelabel{#1}}%
+      \desclabelwidth{\wd\z@}%
+    }%
+    \item[\box\z@]%
+  }
+  \let\endnote\endbasedescript
+\fi
 %    \end{macrocode}
 %
 % \end{environment}
