From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org.el: org-babel-load-file loads first tangle file Date: Fri, 30 Jan 2015 18:13:12 +0100 Message-ID: <87twz8p4yf.fsf@nicolasgoaziou.fr> References: <54CAAAE0.208@gmail.com> <87y4okpppx.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHF77-0000cb-31 for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 12:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHF73-0002QJ-JB for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 12:12:12 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:43659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHF73-0002Pv-Dr for emacs-orgmode@gnu.org; Fri, 30 Jan 2015 12:12:09 -0500 In-Reply-To: (Sami Airaksinen's message of "Fri, 30 Jan 2015 14:55:11 +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: Sami Airaksinen Cc: emacs-orgmode@gnu.org Sami Airaksinen writes: > I got confused, do you want a comment in the source code or in the commit > message? The former. > So comment in the source code would be something like, > "tangle-file traversal returns reversed list of tangled files and we want > to evaluate the first target" That's fine. > If explanation is for car+last combo: (car (last ...)) the car is needed > because (last ...) returns the last link which is list of one element. No it isn't about car+last but why we're interested in the last element instead of the first one. Thanks,