0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-25 10:02:52 +00:00

org-export: Reserve a slot for OpenDocumentExporter

PATCH-1/5 for org-odt compatibility

From 06379ccef996e8dabd8dcced6cbe430aacdef3f0 Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Thu, 23 Jun 2011 01:53:37 +0530
Subject: [PATCH 1/5] org-export: Reserve a slot for OpenDocumentExporter.

* lisp/org-exp.el (org-export): Reserve keys 'o' and 'O' for
OpenDocumentText export and bind them to org-export-as-odt and
org-export-as-odt-and-open.
This commit is contained in:
Jambunathan K 2011-06-23 21:22:22 +05:30 committed by Carsten Dominik
parent 101a3142d9
commit aca61a173c

View file

@ -49,6 +49,12 @@
(declare-function org-table-cookie-line-p "org-table" (line))
(declare-function org-table-colgroup-line-p "org-table" (line))
(autoload 'org-export-generic "org-export-generic" "Export using the generic exporter" t)
(autoload 'org-export-as-odt "org-odt"
"Export the outline to a OpenDocumentText file." t)
(autoload 'org-export-as-odt-and-open "org-odt"
"Export the outline to a OpenDocumentText file and open it." t)
(defgroup org-export nil
"Options for exporting org-listings."
:tag "Org Export"
@ -933,6 +939,8 @@ Pressing `1' will switch between these two options."
\[D] export as DocBook [V] export as DocBook, process to PDF, and open
\[o] export as OpenDocumentText [O] ... and open
\[j] export as TaskJuggler [J] ... and open
\[m] export as Freemind mind map
@ -961,6 +969,8 @@ Pressing `1' will switch between these two options."
(?g org-export-generic t)
(?D org-export-as-docbook t)
(?V org-export-as-docbook-pdf-and-open t)
(?o org-export-as-odt t)
(?O org-export-as-odt-and-open t)
(?j org-export-as-taskjuggler t)
(?J org-export-as-taskjuggler-and-open t)
(?m org-export-as-freemind t)