summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-01-08 12:37:22 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-01-08 12:50:29 +0100
commit25ab746fc9b9a3cc08d52bef599eb55ffe581d89 (patch)
treeeea893f2d4449ff7dce5cb16fd9e7f13d15551bd
parentdaef88b0a8d55625c1911ba1bf6d5db822bd02f8 (diff)
downloadorg-mode-25ab746fc9b9a3cc08d52bef599eb55ffe581d89.tar.gz
org-export: Add a filter for new section element
* contrib/lisp/org-export.el (org-export-filter-section-functions): New variable.
-rw-r--r--contrib/lisp/org-export.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el
index 99502c6..0f240c2 100644
--- a/contrib/lisp/org-export.el
+++ b/contrib/lisp/org-export.el
@@ -1767,6 +1767,12 @@ Each filter is called with two arguments: the transcoded
quote-section, as a string, and the back-end, as a symbol. It
must return a string or nil.")
+(defvar org-export-filter-section-functions nil
+ "Filter, or list of filters, applied to a transcoded section.
+Each filter is called with two arguments: the transcoded section,
+as a string, and the back-end, as a symbol. It must return
+a string or nil.")
+
(defvar org-export-filter-special-block-functions nil
"Filter, or list of filters, applied to a transcoded special block.
Each filter is called with two arguments: the transcoded special