summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/contrib.yo2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2fca8d90..8e87c244d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2021-04-15 Daniel Shahaf <d.s@daniel.shahaf.name>
+ * 45583/0002 (tweaked): Doc/Zsh/contrib.yo: docs: Fix rendering
+ of an example in the man page output
+
* 45583/0001: Doc/Zsh/func.yo: docs: Minor markup tweak
2021-04-13 dana <dana@dana.is>
diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo
index 586ac06f5..55ea06f34 100644
--- a/Doc/Zsh/contrib.yo
+++ b/Doc/Zsh/contrib.yo
@@ -2028,7 +2028,9 @@ disabled.
item(Declare cleanup)(
If your function makes any other changes that should be undone when the
theme is disabled, your setup function may call
+
example(prompt_cleanup var(command))
+
where var(command) should be suitably quoted. If your theme is ever
disabled or replaced by another, var(command) is executed with tt(eval).
You may declare more than one such cleanup hook.