org-export: Change signature of collect functions
commitb6610f8609c8deeb42d8e819cea88e4e8c1c3d61
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 20 Jan 2012 19:10:41 +0000 (20 20:10 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 20 Jan 2012 19:12:30 +0000 (20 20:12 +0100)
treea365def90ec9bf4cdf10dc7197bb8e35e11c3c55
parent3dc734eaf22bd50959d4c5e1818ffb46a1c048fc
org-export: Change signature of collect functions

* contrib/lisp/org-export.el (org-export-collect-elements): Change
  output to list of elements instead of their beginning position.
  Also add an optional predicate argument for fine grain control.
  Remove back-end argument.
(org-export-collect-tables, org-export-collect-listings): Apply
  changes from previous function.
(org-export-collect-figures): Apply changes from previous function.
  Also require a predicate to correctly define the concept of figure.
contrib/lisp/org-export.el