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 "<pre>\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
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode