always revisit nodes independently of "required" flag, which may change during editing -- avoid "bloodbath effect" when changing perspective while loading;
authorwenzelm
Fri, 20 Apr 2012 22:48:48 +0200
changeset 47631 97d28302445c
parent 47630 8d654975b67d
child 47632 50f9f699b2d7
always revisit nodes independently of "required" flag, which may change during editing -- avoid "bloodbath effect" when changing perspective while loading;
src/Pure/PIDE/document.ML
--- a/src/Pure/PIDE/document.ML	Fri Apr 20 22:51:06 2012 +0200
+++ b/src/Pure/PIDE/document.ML	Fri Apr 20 22:48:48 2012 +0200
@@ -472,7 +472,7 @@
                 val required = is_required name;
               in
                 if updated_imports orelse AList.defined (op =) edits name orelse
-                  required andalso not (stable_finished_theory node)
+                  not (stable_finished_theory node)
                 then
                   let
                     val node0 = node_of old_version name;