From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [Patch] Fix handling of variable capture location Date: Sat, 20 May 2017 08:36:23 +0200 Message-ID: <87d1b4ox08.fsf@nicolasgoaziou.fr> References: <87r2znr7pn.fsf@nicolasgoaziou.fr> <87vaoxorsc.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBy07-0008Rs-1u for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:36:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBy03-0000u2-VU for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:36:31 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:51032) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBy03-0000tp-PI for emacs-orgmode@gnu.org; Sat, 20 May 2017 02:36:27 -0400 In-Reply-To: (Yuri Lensky's message of "Fri, 19 May 2017 16:37:25 -0700") 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" To: Yuri Lensky Cc: "emacs-orgmode@gnu.org" Hello, Yuri Lensky writes: > I now understand what you mean by the second call to symbol-value not being > needed. The previous behavior only chose this "branch" of the cond if > symbol-value was not nil. To keep this behavior but only have one call to > symbol-value, why not change to (keep the symbol-value in the cond as > opposed to the body of the branch): > > ((and (symbolp file) (boundp file) (symbol-value file))) > > to keep the old behavior of the cond statement? We don't need to keep the old behaviour. The current one is as good. Regards, -- Nicolas Goaziou