# HG changeset patch # User wenzelm # Date 1385149017 -3600 # Node ID 39d91cac6e9176adcec8e5a7783a4868e01f8d6e # Parent 31844ca390ada9e32b2372f2fa85099f3173d9df tuned messages; diff -r 31844ca390ad -r 39d91cac6e91 src/Pure/System/session.scala --- a/src/Pure/System/session.scala Fri Nov 22 20:28:49 2013 +0100 +++ b/src/Pure/System/session.scala Fri Nov 22 20:36:57 2013 +0100 @@ -240,7 +240,7 @@ { val header1 = if (thy_load.loaded_theories(name.theory)) - header.error("Attempt to update loaded theory " + quote(name.theory)) + header.error("Cannot update finished theory " + quote(name.theory)) else header (name, Document.Node.Deps(header1)) } diff -r 31844ca390ad -r 39d91cac6e91 src/Pure/Thy/thy_info.ML --- a/src/Pure/Thy/thy_info.ML Fri Nov 22 20:28:49 2013 +0100 +++ b/src/Pure/Thy/thy_info.ML Fri Nov 22 20:36:57 2013 +0100 @@ -140,7 +140,7 @@ (* main loader actions *) fun remove_thy name = NAMED_CRITICAL "Thy_Info" (fn () => - if is_finished name then error (loader_msg "attempt to change finished theory" [name]) + if is_finished name then error (loader_msg "cannot update finished theory" [name]) else let val succs = thy_graph String_Graph.all_succs [name];