equal
deleted
inserted
replaced
163 val browser_info = Unsynchronized.ref empty_browser_info; |
163 val browser_info = Unsynchronized.ref empty_browser_info; |
164 fun change_browser_info f = |
164 fun change_browser_info f = |
165 CRITICAL (fn () => Unsynchronized.change browser_info (map_browser_info f)); |
165 CRITICAL (fn () => Unsynchronized.change browser_info (map_browser_info f)); |
166 |
166 |
167 val suppress_tex_source = Unsynchronized.ref false; |
167 val suppress_tex_source = Unsynchronized.ref false; |
168 fun no_document f x = setmp_noncritical suppress_tex_source true f x; |
168 fun no_document f x = Unsynchronized.setmp suppress_tex_source true f x; (* FIXME unreliable *) |
169 |
169 |
170 fun init_theory_info name info = |
170 fun init_theory_info name info = |
171 change_browser_info (fn (theories, files, tex_index, html_index, graph) => |
171 change_browser_info (fn (theories, files, tex_index, html_index, graph) => |
172 (Symtab.update (name, info) theories, files, tex_index, html_index, graph)); |
172 (Symtab.update (name, info) theories, files, tex_index, html_index, graph)); |
173 |
173 |