From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Guerry Subject: Re: Why not push? Date: Wed, 05 Aug 2015 02:00:35 +0200 Message-ID: <87y4hq38po.fsf@free.fr> References: <87h9unwk0r.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWm-0004l4-66 for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMmWi-0008QC-CK for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:52 -0400 Received: from so1.mailgun.net ([198.61.254.11]:50110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMmWi-0008PB-7S for emacs-orgmode@gnu.org; Tue, 04 Aug 2015 20:25:48 -0400 In-Reply-To: <87h9unwk0r.fsf@wmi.amu.edu.pl> (Marcin Borkowski's message of "Sun, 15 Feb 2015 11:23:32 +0100") 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: Marcin Borkowski Cc: Org-Mode mailing list Hi Marcin, Marcin Borkowski writes: > I don't want to be nitpicking, but I'm just curious. I'm looking at the > function `org-split-string'. It uses (two times) the following > construction: > > (setq list (cons (something) list)) > > Is there any particular reason for not using `push' there? I pushed a tiny clean up here. Next question is: why not using (split-string STRING SEPARATORS t) ? -- Bastien