aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Dénès2018-04-16 22:42:36 +0200
committerMaxime Dénès2018-04-16 22:42:36 +0200
commit64edabd0ae9707f18a002724608d2aa9161e3927 (patch)
tree059a3b04f1450f8a3afd86c8d29b39a2176ee95b
parent3e7863e9369d38537685576a8642dbe0c062d0c5 (diff)
parentc9a61de77a1b06937639f06bd7ef7b839c0b59b6 (diff)
Merge PR #7225: Document the Export Set/Unset commands.
-rw-r--r--doc/sphinx/proof-engine/vernacular-commands.rst34
1 files changed, 26 insertions, 8 deletions
diff --git a/doc/sphinx/proof-engine/vernacular-commands.rst b/doc/sphinx/proof-engine/vernacular-commands.rst
index da4034fb8a..8abff303c0 100644
--- a/doc/sphinx/proof-engine/vernacular-commands.rst
+++ b/doc/sphinx/proof-engine/vernacular-commands.rst
@@ -107,6 +107,11 @@ This command switches :n:`@flag` on. The original state
of :n:`@flag` is *not* restored at the end of the module. Additionally, if
set in a file, :n:`@flag` is switched on when the file is `Require`-d.
+.. cmdv:: Export Set @flag.
+
+ This command switches :n:`@flag` on. The original state
+ of :n:`@flag` is restored at the end of the current module, but :n:`@flag`
+ is switched on when this module is imported.
.. cmd:: Unset @flag.
@@ -128,6 +133,11 @@ This command switches :n:`@flag` off. The original
state of :n:`@flag` is *not* restored at the end of the module. Additionally,
if set in a file, :n:`@flag` is switched off when the file is `Require`-d.
+.. cmdv:: Export Unset @flag.
+
+ This command switches :n:`@flag` off. The original state
+ of :n:`@flag` is restored at the end of the current module, but :n:`@flag`
+ is switched off when this module is imported.
.. cmd:: Test @flag.
@@ -157,11 +167,16 @@ original value of :n:`@option` is *not* restored at the end of the module.
Additionally, if set in a file, :n:`@option` is set to value when the file
is `Require`-d.
+.. cmdv:: Export Set @option.
+
+ This command set :n:`@option` to :n:`@value`. The original state
+ of :n:`@option` is restored at the end of the current module, but :n:`@option`
+ is set to :n:`@value` when this module is imported.
.. cmd:: Unset @option.
-This command resets option to its default value.
+ This command turns off :n:`@option`.
Variants:
@@ -169,17 +184,20 @@ Variants:
.. cmdv:: Local Unset @option.
-This command resets :n:`@option` to its default
-value. The original state of :n:`@option` is restored when the current
-*section* ends.
+ This command turns off :n:`@option`. The original state of :n:`@option` is restored when the current
+ *section* ends.
.. cmdv:: Global Unset @option.
-This command resets :n:`@option` to its default
-value. The original state of :n:`@option` is *not* restored at the end of the
-module. Additionally, if unset in a file, :n:`@option` is reset to its
-default value when the file is `Require`-d.
+ This command turns off :n:`@option`. The original state of :n:`@option` is *not* restored at the end of the
+ module. Additionally, if unset in a file, :n:`@option` is reset to its
+ default value when the file is `Require`-d.
+
+.. cmdv:: Export Unset @option.
+ This command turns off :n:`@option`. The original state of :n:`@option` is restored at the end of the
+ current module, but :n:`@option` is set to its default value when this module
+ is imported.
.. cmd:: Test @option.