[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH][ANN] org-html/org-odt
From: |
Sean O'Halpin |
Subject: |
Re: [O] [PATCH][ANN] org-html/org-odt |
Date: |
Fri, 25 Mar 2011 22:32:16 +0000 |
Hi,
I was getting the error:
org-html-insert-toc: Wrong type argument: char-or-string-p, nil
when trying to generate an HTML file with
#+OPTIONS: toc:nil
The patch below seems to fix this.
Regards,
Sean
index bd53741..37eddf4 100644
--- a/lisp/org-html.el
+++ b/lisp/org-html.el
@@ -2113,7 +2113,7 @@ the alist of previous items."
(defun org-html-end-export ()
;; insert the table of contents
- (when (and org-export-with-toc (not body-only))
+ (when (and org-export-with-toc (not body-only) org-parse-table-of-contents)
(org-html-insert-toc org-parse-table-of-contents))
;; remove empty paragraphs
- [O] Re: [PATCH][ANN] org-html/org-odt, (continued)
- [O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
- [O] Re: [PATCH][ANN] org-html/org-odt, Christian Moe, 2011/03/21
- [O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
- Re: [O] Re: [PATCH][ANN] org-html/org-odt, Christian Moe, 2011/03/21
- [O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
- Re: [O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
- [O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
[O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
[O] Re: [PATCH][ANN] org-html/org-odt, Jambunathan K, 2011/03/21
Re: [O] [PATCH][ANN] org-html/org-odt, Christian Moe, 2011/03/21
Re: [O] [PATCH][ANN] org-html/org-odt,
Sean O'Halpin <=