Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] fix typo in doc of emulate



It seems this patch has got no response.

 2015/04/28 15:07, Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx> wrote:
> It should be "fno then calls fni" I think.

Yes, and I think the next fno (in 'bacause fno is also ...') should
also be replaced by fni.

diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 1b8729d..a2c03bc 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -551,8 +551,8 @@ fno
 
 The two functions tt(fni) and tt(fno) are defined with sticky tt(sh)
 emulation.  tt(fno) is then executed, causing options associated
-with emulations to be set to their values in tt(sh).  tt(fni) then
-calls tt(fno); because tt(fno) is also marked for sticky tt(sh)
+with emulations to be set to their values in tt(sh).  tt(fno) then
+calls tt(fni); because tt(fni) is also marked for sticky tt(sh)
 emulation, no option changes take place on entry to or exit from it.
 Hence the option tt(cshnullglob), turned off by tt(sh) emulation, will
 be turned on within tt(fni) and remain on on return to tt(fno).  On exit



Messages sorted by: Reverse Date, Date, Thread, Author