summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-10-28 23:00:04 +0100
committerNicolas Goaziou <n.goaziou@gmail.com>2012-10-28 23:00:04 +0100
commit90fcb4b841ee8a6d32c54d63ed98457a58586cea (patch)
tree956203f455b9241b489676f46942fc3d7a0b117a
parent98d5666bac8cdaadcb692ba5dabb342641bd2319 (diff)
downloadorg-mode-90fcb4b841ee8a6d32c54d63ed98457a58586cea.tar.gz
org-export: Add filter set for diary sexp elements
* contrib/lisp/org-export.el (org-export-filters-alist): Add filter set for diary sexp elements. (org-export-filter-comment-block-functions): Fix docstring. (org-export-filter-diary-sexp-functions): New variable.
-rw-r--r--contrib/lisp/org-export.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el
index c004fb4..134f1d0 100644
--- a/contrib/lisp/org-export.el
+++ b/contrib/lisp/org-export.el
@@ -176,6 +176,7 @@ way they are handled must be hard-coded into
(:filter-code . org-export-filter-code-functions)
(:filter-comment . org-export-filter-comment-functions)
(:filter-comment-block . org-export-filter-comment-block-functions)
+ (:filter-diary-sexp . org-export-filter-diary-sexp-functions)
(:filter-drawer . org-export-filter-drawer-functions)
(:filter-dynamic-block . org-export-filter-dynamic-block-functions)
(:filter-entity . org-export-filter-entity-functions)
@@ -2138,7 +2139,13 @@ 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-comment-block-functions nil
- "List of functions applied to a transcoded comment-comment.
+ "List of functions applied to a transcoded comment-block.
+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-diary-sexp-functions nil
+ "List of functions applied to a transcoded diary-sexp.
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.")