From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Use regexp-opt in org-set-tag-faces Date: Sat, 02 Feb 2019 22:51:37 +0100 Message-ID: <87tvhlc106.fsf@nicolasgoaziou.fr> References: <87ftt8hq00.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:53847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gq3CY-00041t-Lc for emacs-orgmode@gnu.org; Sat, 02 Feb 2019 16:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gq3CX-0003Iw-OY for emacs-orgmode@gnu.org; Sat, 02 Feb 2019 16:51:50 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:34543) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gq3CX-0003Fl-8s for emacs-orgmode@gnu.org; Sat, 02 Feb 2019 16:51:49 -0500 In-Reply-To: <87ftt8hq00.fsf@gmail.com> (Anders Johansson's message of "Thu, 31 Jan 2019 15:15:59 +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" To: Anders Johansson Cc: "emacs-orgmode@gnu.org" Hello, Anders Johansson writes: > I just noticed a place where it would be appropriate to use regexp-opt > instead of doing: > (concat ":\\(" (mapconcat 'car value "\\|") "\\):")))) > > regexp-opt promises to be more efficient. Applied. Thank you. Regards, -- Nicolas Goaziou