org-mode/testing/lisp
Nicolas Goaziou 74faf5bd26 org-export: New `org-export-derived-backend-p' predicate
* contrib/lisp/org-export.el (org-export-define-derived-backend): Add
  `:parent' property to derived backend.
(org-export-derived-backend-p): New function.
* testing/lisp/test-org-export.el: Add tests.

This function can be useful in filters implemation. I.e.

  (defun my-filter (contents backend info)
    (when (memq backend '(e-latex e-beamer some-derived-backend-from-latex))
      ...))

can be replaced with:

  (defun my filter (contents backend info)
    (when (org-export-derived-backend-p backend 'e-latex)
      ...))
2012-11-17 13:33:38 +01:00
..
test-ob-C.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-R.el do not set variables belonging to ESS 2012-09-23 11:07:18 +02:00
test-ob-awk.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-emacs-lisp.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-exp.el ob: Fix block evaluation in a narrowed buffer 2012-10-28 16:21:30 +01:00
test-ob-fortran.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-lilypond.el testing/lisp/test-ob-lilypond.el: Use "w32" or "windows-nt" instead of "win32" 2012-10-01 19:00:14 +02:00
test-ob-lob.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-maxima.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-octave.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-python.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-sh.el Don't load test-ob-sh when no "sh" executable 2012-08-03 13:34:10 -06:00
test-ob-table.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob-tangle.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-ob.el ob: Fix block evaluation in a narrowed buffer 2012-10-28 16:21:30 +01:00
test-org-element.el org-element: Return nil for unspecified time values 2012-11-15 21:02:26 +01:00
test-org-exp.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org-export.el org-export: New `org-export-derived-backend-p' predicate 2012-11-17 13:33:38 +01:00
test-org-footnote.el org-footnote: Fix bug related to sorting and folded view 2012-04-08 12:01:57 +02:00
test-org-html.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org-list.el org-list: Fix infloop when inserting an item 2012-11-13 15:45:09 +01:00
test-org-table.el Fix the master branch. 2012-03-19 22:01:29 +01:00
test-org.el Merge branch 'maint' 2012-11-09 02:47:23 +01:00
test-property-inheritance.el Fix the master branch. 2012-03-19 22:01:29 +01:00