Simplify org-export-format-source-code-or-example
commit01c2f06ea4331daeb22e2d843b54b6b5cc5eead2
authorJambunathan K <kjambunathan@gmail.com>
Thu, 23 Jun 2011 15:56:37 +0000 (23 21:26 +0530)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 23 Jun 2011 21:10:24 +0000 (23 23:10 +0200)
tree06af572b775fd4eee0924e66e6e4c53d41d586f6
parentf0177f4a11fec0fe69b5480e11e8b9f3aebc0f23
Simplify org-export-format-source-code-or-example

PATCH-4/5 org-odt compatibility patch

Addtional Note: Diff looks primarily because of
un-indentation. Effective changes are just couple of lines.

From 923402f12f30a39d54e16c0b105db2b1f20c2a7c Mon Sep 17 00:00:00 2001
From: Jambunathan K <kjambunathan@gmail.com>
Date: Thu, 23 Jun 2011 12:06:33 +0530
Subject: [PATCH 4/5] Simplify org-export-format-source-code-or-example.

* lisp/org-exp.el (org-export-format-source-code-or-example):
Simplify. Also add `org-native-text' as a text property to the
formatted text and throw error for unknown backends.
lisp/org-exp.el