From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15898 invoked by alias); 24 Sep 2012 18:51:27 -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: 30696 Received: (qmail 3871 invoked from network); 24 Sep 2012 18:51:25 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <120924115023.ZM22732@torch.brasslantern.com> Date: Mon, 24 Sep 2012 11:50:23 -0700 In-reply-to: <20120920203537.29bb1d18@pws-pc.ntlworld.com> Comments: In reply to Peter Stephenson "Re: autoload -X inside an anonymous function" (Sep 20, 8:35pm) References: <13194.1347934322@thecus.kiddle.eu> <120918095827.ZM23535@torch.brasslantern.com> <1348021726.8764.YahooMailNeo@web29706.mail.ird.yahoo.com> <120919075811.ZM24917@torch.brasslantern.com> <20120920203537.29bb1d18@pws-pc.ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: Zsh workers Subject: Re: autoload -X inside an anonymous function MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 20, 8:35pm, Peter Stephenson wrote: } } I discovered while doing this that "autoload +X _path_files" didn't } work, it doesn't like the absence of the semicolon in the braces. If } anyone wants to work out why, be me guest. Works for me with 4.3.17-test-2 ... and also with 5.0.0-dev-0 just now compiled from CVS (edited _path_files to remove your semicolon again). Did you try autoload -z +X ?