Isar.command: do not set position of enclosing transaction, to avoid of clash with the one being prepared here!
authorwenzelm
Mon, 11 Aug 2008 17:37:48 +0200
changeset 27827 03ed3519cf48
parent 27826 4e50590ea9bc
child 27828 edafacb690a3
Isar.command: do not set position of enclosing transaction, to avoid of clash with the one being prepared here!
src/Pure/Isar/isar_syn.ML
--- a/src/Pure/Isar/isar_syn.ML	Mon Aug 11 14:50:04 2008 +0200
+++ b/src/Pure/Isar/isar_syn.ML	Mon Aug 11 17:37:48 2008 +0200
@@ -722,7 +722,7 @@
 val _ =
   OuterSyntax.improper_command "Isar.command" "define command (Isar editor model)" K.control
     (props_text >> (fn (pos, str) =>
-      Toplevel.no_timing o Toplevel.position pos o Toplevel.imperative (fn () =>
+      Toplevel.no_timing o Toplevel.imperative (fn () =>
         ignore (Isar.create_command (OuterSyntax.prepare_command pos str)))));
 
 val _ =