org-export: Modify dispatcher to accommodate e-odt backend

* contrib/lisp/org-export.el (org-export-dispatch)
(org-export-dispatch-ui): New entries for ODT backend.
This commit is contained in:
Jambunathan K 2012-02-22 20:17:25 +05:30
parent c2ea76e710
commit bfd31d7268
1 changed files with 9 additions and 0 deletions

View File

@ -3247,6 +3247,12 @@ Return an error if key pressed has no associated command."
(?b (org-open-file
(org-e-html-export-to-html
(memq 'subtree optns) (memq 'visible optns) (memq 'body optns))))
;; Export with `e-odt' back-end.
(?o (org-e-odt-export-to-odt
(memq 'subtree optns) (memq 'visible optns) (memq 'body optns)))
(?O (org-open-file
(org-e-odt-export-to-odt
(memq 'subtree optns) (memq 'visible optns) (memq 'body optns))))
;; Publishing facilities
(?F (org-e-publish-current-file (memq 'force optns)))
(?P (org-e-publish-current-project (memq 'force optns)))
@ -3294,6 +3300,9 @@ final interactive export options as CDR."
\[h] to HTML file [b] ... and open it
\[H] to temporary buffer
--------------------- ODF Export -----------------------
\[o] to ODT file [O] ... and open it
------------------------- Publish -------------------------
\[F] current file [P] current project
\[X] a project [E] every project"