From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19728 invoked by alias); 28 Apr 2015 06:38:22 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34981 Received: (qmail 23606 invoked from network); 28 Apr 2015 06:38:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.2 Date: Tue, 28 Apr 2015 14:07:50 +0800 From: Han Pingtian To: zsh-workers@zsh.org Subject: [PATCH] fix typo in doc of emulate Message-ID: <20150428060750.GA28740@localhost.localdomain> Mail-Followup-To: zsh-workers@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15042806-0033-0000-0000-0000045D53FB Hi, Please review this patch. It should be "fno then calls fni" I think. Signed-off-by: Han Pingtian --- Doc/Zsh/builtins.yo | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index dd5a80f..b039fce 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -548,8 +548,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(fno) 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 -- 1.9.3