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).
This commit is contained in:
Nicolas Goaziou 2013-08-10 09:42:20 +02:00
parent ef2d475bf8
commit 73b060b768
1 changed files with 1 additions and 1 deletions

View File

@ -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)