From ddfaa6fe7ac931ad0f08edc3e5e85317c38deaae Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 23 Sep 2012 22:50:33 +0200 Subject: [PATCH] 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. --- contrib/lisp/org-export.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index 886d1bcff..520567c84 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,