aboutsummaryrefslogtreecommitdiff
path: root/toplevel
diff options
context:
space:
mode:
authorherbelin2011-10-05 15:52:09 +0000
committerherbelin2011-10-05 15:52:09 +0000
commit67f5aa82fc2a1fca35e1f8ba0204f9417b148757 (patch)
tree5bee263dfdf5ec0aac5b859f41c88d8248d8ebc9 /toplevel
parent685ae9ecd6635ab4e44368f8eb2c7415e6de42f6 (diff)
Fixing Implicit Tactic mode damaged by commit r14496 (see also bug #2612).
There were some confusion on the role of clear_proofs which was applicable only to the global named_context. Hopefully made things clearer. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14517 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/lemmas.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/toplevel/lemmas.ml b/toplevel/lemmas.ml
index 7f3edefbb2..5817ef1b9e 100644
--- a/toplevel/lemmas.ml
+++ b/toplevel/lemmas.ml
@@ -252,8 +252,7 @@ let start_hook = ref ignore
let set_start_hook = (:=) start_hook
let start_proof id kind c ?init_tac ?(compute_guard=[]) hook =
- let sign = Global.named_context () in
- let sign = clear_proofs sign in
+ let sign = initialize_named_context_for_proof () in
!start_hook c;
Pfedit.start_proof id kind sign c ?init_tac ~compute_guard hook