aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toplevel/command.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml
index e8bc17cc34..baf99646c1 100644
--- a/toplevel/command.ml
+++ b/toplevel/command.ml
@@ -463,7 +463,10 @@ let save_named opacity =
let check_anonymity id save_ident =
if atompart_of_id id <> "Unnamed_thm" then
+ error "This command can only be used for unnamed theorem"
+(*
message("Overriding name "^(string_of_id id)^" and using "^save_ident)
+*)
let save_anonymous opacity save_ident =
let id,(const,strength) = Pfedit.cook_proof () in