summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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