Update Doku aus Driversourcen
Change-Id: I455f0813b970151089b3dc1b8d9407eea323cdd1
diff --git a/doc/hook/reset b/doc/hook/reset
index 23f1dea..dcb1c9d 100644
--- a/doc/hook/reset
+++ b/doc/hook/reset
@@ -9,23 +9,23 @@
void <name>(1)
DESCRIPTION
- Optional hook to reset an object.
- Hook setting can be unbound lambda closures, or the name of
- the function (static or public) to call in the object.
+ Optional hook to reset an object. Hook setting can be unbound
+ lambda closures, or the name of the function (static or public)
+ to call in the object.
If the hook is a closure, it is bound to the object to be
reset and called with no argument.
If the result of this call is a positive number, it is used as
- the interval to wait before the next reset(). If the result
+ the interval to wait before the next reset(). If the result
is 0, the default interval computed from TIME_TO_RESET is
- used. If the result is a negative number, the object will not
+ used. If the result is a negative number, the object will not
be reset again, unless directed otherwise by set_next_reset().
If the hook is defined as the name of an lfun in the object,
it is called in the object with 1 as argument, and any result
- is ignored. In this call the previous_object() is the object
- initiating the reset. If the function does not exist, the
+ is ignored. In this call the previous_object() is the object
+ initiating the reset. If the function does not exist, the
object won't be reset again.
Note that an object is only reset by call to this hook if it