aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-09-15 21:32:31 +0000
committerGravatar msozeau <msozeau@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-09-15 21:32:31 +0000
commit9b50c260c542823589cbca2cec8d57404b5ef419 (patch)
tree9419282248413d64d9ddf7273f30da53bcbeecc8
parentacefca3c863d5c022214deb3bbd685baec86421e (diff)
Dont't forget to update the state or an obligation tactic assignment may
have no effect when the module is later imported. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12332 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--plugins/subtac/subtac_obligations.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/subtac/subtac_obligations.ml b/plugins/subtac/subtac_obligations.ml
index c0de6478a..fb74867f1 100644
--- a/plugins/subtac/subtac_obligations.ml
+++ b/plugins/subtac/subtac_obligations.ml
@@ -176,6 +176,9 @@ let (input,output) =
let update_state () =
(* msgnl (str "Updating obligations info"); *)
Lib.add_anonymous_leaf (input (!from_prg, !default_tactic_expr))
+
+let set_default_tactic t =
+ set_default_tactic t; update_state ()
open Evd