From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Tangling is broken in git master Date: Mon, 13 Aug 2012 21:00:15 +0200 Message-ID: <87zk5yvcqo.fsf@gnu.org> References: <87628oncqa.fsf@norang.ca> <871ujc33gd.fsf@gnu.org> <87lihj7dyw.fsf@norang.ca> <87sjbrs5wh.fsf@gnu.org> <877gt2sy83.fsf@gmx.com> <87r4rayjxu.fsf@gnu.org> <87obmeg9il.fsf@gmx.com> <87393qyhst.fsf@gnu.org> <87pq6uq0f1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0zri-0007UK-4B for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 14:59:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0zrh-0005Pz-8d for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 14:59:50 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:38409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0zrh-0005OV-2L for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 14:59:49 -0400 Received: by mail-wg0-f49.google.com with SMTP id ez12so2971228wgb.30 for ; Mon, 13 Aug 2012 11:59:48 -0700 (PDT) In-Reply-To: <87pq6uq0f1.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 13 Aug 2012 17:25:22 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: Bernt Hansen , emacs-orgmode@gnu.org, Eric Schulte Nicolas Goaziou writes: > You can have recursive local functions: > > #+begin_src emacs-lisp > (let* (len ; For byte compiler. > (len (lambda (l) (if (not l) 0 > (1+ (funcall len (cdr l))))))) > (funcall len '(1 2 3))) > #+end_src Indeed, neat! -- Bastien