summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-08-10 07:42:20 (GMT)
committer Nicolas Goaziou <n.goaziou@gmail.com>2013-08-10 07:42:20 (GMT)
commit73b060b768c53dcc25e9bbe983155555dc467060 (patch)
tree90d21ca663a74dbe658eb5d83c53d01268cb6eab
parentef2d475bf8c0995ae8a0ced2c5262f48ad547dad (diff)
downloadorg-mode-73b060b768c53dcc25e9bbe983155555dc467060.zip
org-mode-73b060b768c53dcc25e9bbe983155555dc467060.tar.gz
ox: Only provide back-end name as second argument of filters
* lisp/ox.el (org-export-filter-apply-functions): Only provide back-end name (a symbol) as second argument of filters, not the full back-end (a vector).
-rw-r--r--lisp/ox.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox.el b/lisp/ox.el
index 9d5b69d..d0ccc1e 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -2754,7 +2754,7 @@ VALUE is ignored.
Call is done in a LIFO fashion, to be sure that developer
specified filters, if any, are called first."
(catch 'exit
- (let ((backend-name (plist-get info :back-end)))
+ (let ((backend-name (org-export-backend-name (plist-get info :back-end))))
(dolist (filter filters value)
(let ((result (funcall filter value backend-name info)))
(cond ((not result) value)