From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Org mode release 6.04 Date: Wed, 28 May 2008 10:35:04 +0200 Message-ID: References: <9649271a0805272101r193c5713of86e13d4726dd0f@mail.gmail.com> <9649271a0805272334x6eef7f73j383bba0d595ae1b3@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1H7o-000116-Kw for emacs-orgmode@gnu.org; Wed, 28 May 2008 04:35:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1H7l-00010U-Ms for emacs-orgmode@gnu.org; Wed, 28 May 2008 04:35:11 -0400 Received: from [199.232.76.173] (port=49630 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1H7l-00010O-BO for emacs-orgmode@gnu.org; Wed, 28 May 2008 04:35:09 -0400 Received: from korteweg.uva.nl ([146.50.98.70]:12583) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1H7k-0007MD-Qr for emacs-orgmode@gnu.org; Wed, 28 May 2008 04:35:09 -0400 In-Reply-To: <9649271a0805272334x6eef7f73j383bba0d595ae1b3@mail.gmail.com> 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: Levin Du Cc: Org-mode Mode On May 28, 2008, at 8:34 AM, Levin Du wrote: > Here's the patch: > diff --git a/lisp/org-exp.el b/lisp/org-exp.el > index 4637e8e..461ec3d 100644 > --- a/lisp/org-exp.el > +++ b/lisp/org-exp.el > @@ -2666,7 +2666,7 @@ lang=\"%s\" xml:lang=\"%s\"> > (setq infixed t) > (insert "
\n"))
>  	    (insert (org-html-protect (match-string 1 line)) "\n")
> -	    (when (and lines
> +	    (when (or (null lines)
>  		       (not (string-match "^[ \t]*\\(:.*\\)"
>  					  (car lines))))
>  	      (setq infixed nil)

Looks correct to me, thanks.

- Carsten