aboutsummaryrefslogtreecommitdiff
path: root/stm/lemmas.ml
diff options
context:
space:
mode:
Diffstat (limited to 'stm/lemmas.ml')
-rw-r--r--stm/lemmas.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/lemmas.ml b/stm/lemmas.ml
index 7679b1a662..2bd1c54519 100644
--- a/stm/lemmas.ml
+++ b/stm/lemmas.ml
@@ -503,4 +503,5 @@ let save_proof ?proof = function
let get_current_context () =
try Pfedit.get_current_goal_context ()
with e when Logic.catchable_exception e ->
- (Evd.empty, Global.env())
+ let env = Global.env () in
+ (Evd.from_env env, env)