doc-src/IsarRef/pure.tex
changeset 26434 d004b791218e
parent 26399 c08a5ab37fcd
child 26479 3a2efce3e992
--- a/doc-src/IsarRef/pure.tex	Thu Mar 27 14:41:21 2008 +0100
+++ b/doc-src/IsarRef/pure.tex	Thu Mar 27 15:32:12 2008 +0100
@@ -483,9 +483,7 @@
 \begin{rail}
   'use' name
   ;
-  ('ML' | 'ML\_val' | 'ML\_command' | 'ML\_setup') text
-  ;
-  'setup' text?
+  ('ML' | 'ML\_val' | 'ML\_command' | 'ML\_setup' | 'setup') text
   ;
   'method\_setup' name '=' text text
   ;
@@ -509,12 +507,11 @@
   theory context is passed down to the ML session, and fetched back
   afterwards.  Thus $text$ may actually change the theory as a side effect.
   
-\item [$\isarkeyword{setup}~text$] changes the current theory context by
-  applying $text$, which refers to an ML expression of type
-  \texttt{theory~->~theory)}.  The $\isarkeyword{setup}$ command is the
-  canonical way to initialize any object-logic specific tools and packages
-  written in ML.  If the $text$ is omitted, the setup value is taken from the
-  implicit context maintained via \verb,Context.add_setup,.
+\item [$\isarkeyword{setup}~text$] changes the current theory context
+  by applying $text$, which refers to an ML expression of type
+  \texttt{theory~->~theory)}.  The $\isarkeyword{setup}$ command is
+  the canonical way to initialize any object-logic specific tools and
+  packages written in ML.
   
 \item [$\isarkeyword{method_setup}~name = text~description$] defines a proof
   method in the current theory.  The given $text$ has to be an ML expression