Toplevel.commit_exit: position;
authorwenzelm
Tue, 30 Sep 2008 14:19:27 +0200
changeset 28426 5bad734625ef
parent 28425 25d6099179a6
child 28427 cc9f7d99fb73
Toplevel.commit_exit: position;
src/Pure/ProofGeneral/proof_general_emacs.ML
--- a/src/Pure/ProofGeneral/proof_general_emacs.ML	Tue Sep 30 14:19:26 2008 +0200
+++ b/src/Pure/ProofGeneral/proof_general_emacs.ML	Tue Sep 30 14:19:27 2008 +0200
@@ -143,7 +143,8 @@
     val _ = name = "" andalso error ("Bad file name: " ^ quote file);
     val _ =
       if ThyInfo.check_known_thy name then
-        (Isar.>> Toplevel.commit_exit; ThyInfo.touch_child_thys name; ThyInfo.register_thy name)
+        (Isar.>> (Toplevel.commit_exit Position.none);
+            ThyInfo.touch_child_thys name; ThyInfo.register_thy name)
           handle ERROR msg =>
             (warning (cat_lines ["Failed to register theory: " ^ quote name, msg]);
               tell_file_retracted (ThyLoad.thy_path name))