summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2015-12-04 12:22:42 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2015-12-16 16:06:20 +0000
commitd20f22eddcc7df94b1e6c68fd2bd3994d37d9bf5 (patch)
treec418bcdfe2dfc45bcf3c02feb2d3cffde8207f57
parent14fa2133fef5004f4af120ea43e7dd3fa2805c36 (diff)
Mention exit hook in docs.
-rw-r--r--docs/source/configuration/hooks.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/source/configuration/hooks.rst b/docs/source/configuration/hooks.rst
index dba5e6eb..1709df68 100644
--- a/docs/source/configuration/hooks.rst
+++ b/docs/source/configuration/hooks.rst
@@ -174,3 +174,7 @@ Apart from command pre- and posthooks, the following hooks will be interpreted:
:type buf: alot.buffer.Buffer
:param success: true if successfully focused buffer
:type success: boolean
+
+.. py:function:: exit()
+
+ run just before the program exits