ox: Implement predicate for export blocks
commit2160b3d2422fb877fbcc6283ae561a9c59b5621a
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 26 Jul 2014 15:18:10 +0000 (26 17:18 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 27 Jul 2014 12:25:44 +0000 (27 14:25 +0200)
treed1c016568c6209ffb2296396001403c18db70908
parent38ff96ecc37ebfe3b65b48c2b0a8a07264868b88
ox: Implement predicate for export blocks

* lisp/ox.el (org-export-raw-special-block-p): New function.

* testing/lisp/test-ox.el (test-org-export/raw-special-block-p): New
  test.

This patch is a forward-compatibility measure since the function is
mandatory for export back-ends in Org 8.3. It makes it easier for
back-end maintainers to provide a back-end compatible with both Org
8.2 and 8.3.
lisp/ox.el
testing/lisp/test-ox.el