diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-09-23 22:50:33 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-09-23 22:50:33 +0200 |
commit | ddfaa6fe7ac931ad0f08edc3e5e85317c38deaae (patch) | |
tree | 54802f564c9445900a8eb56166087d33e82e6e85 | |
parent | 66fe322120331453e65654cb0b9bd15058492467 (diff) | |
download | org-mode-ddfaa6fe7ac931ad0f08edc3e5e85317c38deaae.tar.gz |
org-export: Add filters for new element type
* contrib/lisp/org-export.el (org-export-filter-node-property-functions):
New variable.
(org-export-filters-alist): Use new variable.
-rw-r--r-- | contrib/lisp/org-export.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index 886d1bc..520567c 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -215,6 +215,7 @@ way they are handled must be hard-coded into (:filter-line-break . org-export-filter-line-break-functions) (:filter-link . org-export-filter-link-functions) (:filter-macro . org-export-filter-macro-functions) + (:filter-node-property . org-export-filter-node-property-functions) (:filter-paragraph . org-export-filter-paragraph-functions) (:filter-parse-tree . org-export-filter-parse-tree-functions) (:filter-plain-list . org-export-filter-plain-list-functions) @@ -2207,6 +2208,12 @@ Each filter is called with three arguments: the transcoded data, as a string, the back-end, as a symbol, and the communication channel, as a plist. It must return a string or nil.") +(defvar org-export-filter-node-property-functions nil + "List of functions applied to a transcoded node-property. +Each filter is called with three arguments: the transcoded data, +as a string, the back-end, as a symbol, and the communication +channel, as a plist. It must return a string or nil.") + (defvar org-export-filter-paragraph-functions nil "List of functions applied to a transcoded paragraph. Each filter is called with three arguments: the transcoded data, |