--- a/src/Pure/Thy/present.ML Sat Sep 08 19:58:36 2007 +0200
+++ b/src/Pure/Thy/present.ML Sat Sep 08 19:58:37 2007 +0200
@@ -14,7 +14,7 @@
signature PRESENT =
sig
include BASIC_PRESENT
- val get_info: theory -> {name: string, session: string list, is_local: bool}
+ val session_name: theory -> string
val write_graph: {name: string, ID: string, dir: string, unfold: bool,
path: string, parents: string list} list -> Path.T -> unit
val display_graph: {name: string, ID: string, dir: string, unfold: bool,
@@ -87,6 +87,8 @@
then {name = Context.PureN, session = [], is_local = false}
else BrowserInfoData.get thy;
+val session_name = #name o get_info;
+
(** graphs **)
@@ -102,7 +104,7 @@
fun display_graph gr =
let
- val _ = writeln "Generating graph ...";
+ val _ = writeln "Displaying graph ...";
val path = File.tmp_path (Path.explode "tmp.graph");
val _ = write_graph gr path;
val _ = File.isatool ("browser -c " ^ File.shell_path path ^ " &");