plain add_preference, no setmp_CRITICAL required;
authorwenzelm
Tue, 10 Nov 2009 21:28:46 +0100
changeset 33601 4608243edcfc
parent 33600 16a263d2b1c9
child 33602 d25e6bd6ca95
plain add_preference, no setmp_CRITICAL required;
src/HOL/Tools/Nitpick/nitpick_isar.ML
--- a/src/HOL/Tools/Nitpick/nitpick_isar.ML	Tue Nov 10 21:04:30 2009 +0100
+++ b/src/HOL/Tools/Nitpick/nitpick_isar.ML	Tue Nov 10 21:28:46 2009 +0100
@@ -26,11 +26,11 @@
 
 val auto = Unsynchronized.ref false;
 
-val _ = ProofGeneralPgip.add_preference Preferences.category_tracing
-            (setmp_CRITICAL auto false
-                 (fn () => Preferences.bool_pref auto
-                               "auto-nitpick"
-                               "Whether to run Nitpick automatically.") ())
+val _ =
+  ProofGeneralPgip.add_preference Preferences.category_tracing
+    (Preferences.bool_pref auto
+      "auto-nitpick"
+      "Whether to run Nitpick automatically.")
 
 type raw_param = string * string list