From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-publish-get-project-from-filename raises (wrong-type-argument sequencep any) Date: Sat, 31 Dec 2016 12:31:28 +0100 Message-ID: <87pok8s5bj.fsf@nicolasgoaziou.fr> References: <871swqmpbu.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cNHtQ-0003ma-3T for emacs-orgmode@gnu.org; Sat, 31 Dec 2016 06:32:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cNHtP-0006W4-9U for emacs-orgmode@gnu.org; Sat, 31 Dec 2016 06:32:08 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:53901) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cNHtP-0006VD-3G for emacs-orgmode@gnu.org; Sat, 31 Dec 2016 06:32:07 -0500 In-Reply-To: (Arun Isaac's message of "Fri, 30 Dec 2016 11:11:02 +0530") 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: Arun Isaac Cc: emacs-orgmode Hello, Arun Isaac writes: > Perhaps, `org-publish-get-project-from-filename' can be rewritten > without `catch' and `throw' using `cl-some' or `seq-some'. This is not a > bug. But, it might help improve readability of the logic. Done. Note that `seq-some' is not an option since we support Emacs 24.3 and onwards. I also fixed couple of issues in the function. Regards, -- Nicolas Goaziou