diff options
author | Jambunathan K <kjambunathan@gmail.com> | 2011-10-31 14:08:03 +0530 |
---|---|---|
committer | Jambunathan K <kjambunathan@gmail.com> | 2011-10-31 14:09:36 +0530 |
commit | 8559a91be887dc2005cb24b27d2dd44bb00c7aaa (patch) | |
tree | f9806b15adc22498b8483a64fe2568ccc0e52c73 | |
parent | a62818d5615ed58f777490ccd975dd9729f4f814 (diff) | |
download | org-mode-8559a91be887dc2005cb24b27d2dd44bb00c7aaa.tar.gz |
org-odt.el: Fix a regression in export of src blocks
* contrib/lisp/org-odt.el
(org-odt-format-source-line-with-line-number-and-label): When
numbering was turned off, src blocks were getting stripped
from export. Fixed this regression.
-rw-r--r-- | contrib/lisp/org-odt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-odt.el b/contrib/lisp/org-odt.el index 874ae8a..10c7fe3 100644 --- a/contrib/lisp/org-odt.el +++ b/contrib/lisp/org-odt.el @@ -1045,7 +1045,7 @@ to make available an enhanced version of `htmlfontify' library." (when ref (setq line (org-odt-format-target line (concat "coderef-" ref)))) (setq line (org-odt-format-stylized-paragraph par-style line)) - (when num + (if (not num) line (org-odt-format-tags '("<text:list-item>" . "</text:list-item>") line)))) (defun org-odt-format-source-code-or-example-plain |