ox-latex: Ignore empty example-block and src-block elements
commitd86064c159fa61bce70fce86ede9b87bc1296c03
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 7 Feb 2013 13:35:52 +0000 (7 14:35 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 7 Feb 2013 13:35:52 +0000 (7 14:35 +0100)
treeae2f8e6aba63717dc3d492b102c9282b4eff1883
parent3c4847cf67da2e65f4f8d1dd9514ffd7ff464061
ox-latex: Ignore empty example-block and src-block elements

* lisp/ox-latex.el (org-latex-example-block, org-latex-src-block):
  Ignore element if it's empty.  This fixes error "apply: Wrong number
  of arguments: max, 0".
lisp/ox-latex.el