From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Orgmodeorg-export-generic gives an error Date: Tue, 21 Jul 2009 07:53:07 +0200 Message-ID: <87y6qi8t13.fsf@bzg.ath.cx> References: <87eisgjl8s.fsf@bzg.ath.cx> <211769420907171223r6ffe0086mccfbed65aa0fe3f5@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MT8Zb-0007tZ-Dh for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 02:11:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MT8ZX-0007tL-0X for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 02:11:35 -0400 Received: from [199.232.76.173] (port=55713 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MT8ZW-0007tI-On for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 02:11:30 -0400 Received: from mail-pz0-f202.google.com ([209.85.222.202]:63904) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MT8ZW-0001hS-E8 for emacs-orgmode@gnu.org; Tue, 21 Jul 2009 02:11:30 -0400 Received: by pzk40 with SMTP id 40so1963573pzk.14 for ; Mon, 20 Jul 2009 23:11:29 -0700 (PDT) In-Reply-To: (Wes Hardaker's message of "Mon, 20 Jul 2009 15:39:06 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Wes Hardaker Cc: emacs-orgmode@gnu.org, srinivas Applied, thanks. Wes Hardaker writes: > This patch to it should fix things: > > diff --git a/lisp/org-export-generic.el b/lisp/org-export-generic.el > index 64dcb1f..c9fc161 100644 > --- a/lisp/org-export-generic.el > +++ b/lisp/org-export-generic.el > @@ -1029,7 +1029,7 @@ REVERSE means to reverse the list if the plist match is a > list > subtype) > (cond > ((null prefixtype) "") > - ((and len (characterp prefixtype)) > + ((and len (char-or-string-p prefixtype) (not (stringp prefixtype))) > ;; sequence of chars > (concat (make-string len prefixtype) "\n")) > ((stringp prefixtype) -- Bastien