diff options
author | Eric Timmons <etimmons@mit.edu> | 2020-03-04 18:50:30 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-05-05 00:15:57 -0400 |
commit | 0f783cbca8c3e2a3f9c48b3f30bf6d2f0cda35e0 (patch) | |
tree | 61970b6bc803fcb6f2797c71b3554d972a1ee445 | |
parent | f3c137a69797b0432db4dd887c547b2d69c4ed4d (diff) | |
download | org-mode-0f783cbca8c3e2a3f9c48b3f30bf6d2f0cda35e0.tar.gz |
ox-odt: Do not ignore org-odt-styles-file
* lisp/ox-odt.el (odt): Delete a repeated entry for :odt-styles-file
and absorb its org-odt-styles-file, which had no effect due to the
repeated entries, into the first definition.
TINYCHANGE
-rw-r--r-- | lisp/ox-odt.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/ox-odt.el b/lisp/ox-odt.el index 2c500e7..2bb7630 100644 --- a/lisp/ox-odt.el +++ b/lisp/ox-odt.el @@ -96,7 +96,7 @@ (if a (org-odt-export-to-odt t s v) (org-open-file (org-odt-export-to-odt nil s v) 'system)))))) :options-alist - '((:odt-styles-file "ODT_STYLES_FILE" nil nil t) + '((:odt-styles-file "ODT_STYLES_FILE" nil org-odt-styles-file t) (:description "DESCRIPTION" nil nil newline) (:keywords "KEYWORDS" nil nil space) (:subtitle "SUBTITLE" nil nil parse) @@ -110,7 +110,6 @@ (:odt-inline-formula-rules nil nil org-odt-inline-formula-rules) (:odt-inline-image-rules nil nil org-odt-inline-image-rules) (:odt-pixels-per-inch nil nil org-odt-pixels-per-inch) - (:odt-styles-file nil nil org-odt-styles-file) (:odt-table-styles nil nil org-odt-table-styles) (:odt-use-date-fields nil nil org-odt-use-date-fields) ;; Redefine regular option. |