diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-14 14:20:23 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-04-15 16:27:52 +0000 |
commit | d07c945e747241f2b10935698880340480ad38e7 (patch) | |
tree | bf2c9c4246b0f6df2212e16adc62d536e7c85558 | |
parent | 32336eab92e7b639c08b05ccfadf4a936e0ad3f6 (diff) | |
download | zsh-d07c945e747241f2b10935698880340480ad38e7.tar.gz zsh-d07c945e747241f2b10935698880340480ad38e7.tar.xz zsh-d07c945e747241f2b10935698880340480ad38e7.zip |
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.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Zsh/contrib.yo | 2 |
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. |