Introduced org-lparse-begin-collect and org-lparse-end-collect
commit219e7d60db538072d55bd66a3b954286b8436482
authorJambunathan K <kjambunathan@gmail.com>
Thu, 1 Sep 2011 11:02:06 +0000 (1 16:32 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Thu, 1 Sep 2011 11:02:06 +0000 (1 16:32 +0530)
tree4983a02cdc71450d7c2496deea7732966be36de4
parent0e1f11e730745bcfa72909459c11376b0adb8cea
Introduced org-lparse-begin-collect and org-lparse-end-collect

* contrib/lisp/org-lparse.el (org-lparse-footnote-buffer):
Deleted.  Genericized as `org-lparse-collect-buffer'.
(org-lparse-output-buffer): Added docstring.
(org-lparse-collect-buffer): New variable.  Was
`org-lparse-footnote-buffer' till now.
(org-lparse-collect-count): New variable to aid in asserting
implicit assumptions made by the export engine.
(org-lparse-begin-collect): New function.  Factored out from
`org-lparse-begin-footnote-definition'.
(org-lparse-end-collect): New function.  Factored out from
`org-lparse-end-footnote-definition'.
(org-lparse-begin-footnote-definition)
(org-lparse-end-footnote-definition): Use above functions.
(org-do-lparse): Reset `org-lparse-collect-buffer' and
`org-lparse-collect-count' at the beginning of export.
Cleanup `org-lparse-collect-buffer'.

* contrib/lisp/org-xhtml.el (org-xhtml-end-export): Removed
references to `org-lparse-footnote-buffer'.
contrib/lisp/org-lparse.el
contrib/lisp/org-xhtml.el