1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-12 22:10:54 +01:00

45583/0002 (tweaked): docs: Fix rendering of an example in the man page output

The texi output was unaffected.  However, in the man page on my system,
everything after the example() was underlined and not indented.
This commit is contained in:
Daniel Shahaf 2021-04-14 14:20:23 +00:00
parent 32336eab92
commit d07c945e74
2 changed files with 5 additions and 0 deletions

View file

@ -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>

View file

@ -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.