From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Filters not working Date: Sat, 10 Aug 2013 09:46:04 +0200 Message-ID: <87siyim1j7.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V83s4-0006Ya-IJ for emacs-orgmode@gnu.org; Sat, 10 Aug 2013 03:46:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V83rz-0003Rw-RL for emacs-orgmode@gnu.org; Sat, 10 Aug 2013 03:45:56 -0400 Received: from mail-ee0-x22d.google.com ([2a00:1450:4013:c00::22d]:60284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V83rz-0003Rh-LY for emacs-orgmode@gnu.org; Sat, 10 Aug 2013 03:45:51 -0400 Received: by mail-ee0-f45.google.com with SMTP id c50so2507002eek.18 for ; Sat, 10 Aug 2013 00:45:50 -0700 (PDT) In-Reply-To: (Thomas S. Dye's message of "Fri, 09 Aug 2013 11:18:24 -1000") 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: "Thomas S. Dye" Cc: emacs-orgmode@gnu.org, Charles Berry Hello, tsd@tsdye.com (Thomas S. Dye) writes: > Charles Berry writes: > >> The changes introduced in commit >> >> cea0434c4f7f7f1fc1547e6790b96a76bc217e15 >> ox: Change back-ends internal representation to structures >> >> necessitate extracting the name of the back-end from a vector. >> >> So, this bit of code >> >> (memq backend '(beamer latex)) >> >> will never return t, because backend is a vector. >> >> Probably what you want is >> >> (memq (org-export-backend-name backend) '(latex beamer)) > > Yes, got it now. Actually, I didn't mean to introduce a type change in filter arguments. I fixed it: BACKEND is again a symbol. `org-export-derived-backend-p' still works, and so does `memq'. Regards, -- Nicolas Goaziou