tuned current_goals_markers semantics to avoid empty lines;
authorwenzelm
Thu, 29 Oct 1998 14:32:43 +0100
changeset 5775 cbd439ed350d
parent 5774 c675d4a8c26a
child 5776 3bcc29d0c783
tuned current_goals_markers semantics to avoid empty lines;
src/Pure/goals.ML
--- a/src/Pure/goals.ML	Thu Oct 29 12:42:33 1998 +0100
+++ b/src/Pure/goals.ML	Thu Oct 29 14:32:43 1998 +0100
@@ -279,10 +279,10 @@
 
 fun print_current_goals_default n max th =
   let val ref (begin_state, end_state, begin_goal) = current_goals_markers in
-    writeln begin_state;
+    if begin_state = "" then () else writeln begin_state;
     writeln ("Level " ^ string_of_int n);
     Locale.print_goals_marker begin_goal max th;
-    writeln end_state
+    if end_state = "" then () else writeln end_state
   end;
 
 val print_current_goals_fn = ref print_current_goals_default;