proper restore;
authorwenzelm
Fri, 10 Jun 2016 16:17:33 +0200
changeset 63277 e6d51d9801e4
parent 63276 96bcd90415cb
child 63278 6c963f1fc388
proper restore;
src/Pure/Isar/bundle.ML
--- a/src/Pure/Isar/bundle.ML	Fri Jun 10 16:14:20 2016 +0200
+++ b/src/Pure/Isar/bundle.ML	Fri Jun 10 16:17:33 2016 +0200
@@ -137,8 +137,9 @@
     |> invisible ? Context_Position.set_visible_global false
     |> Context.Theory
     |> define_bundle (binding, the_target thy)
-    ||> Context.the_theory
-    ||> reset_target);
+    ||> (Context.the_theory
+      #> invisible ? Context_Position.restore_visible_global thy
+      #> reset_target));
 
 fun pretty binding lthy =
   let