ox-latex: Fix behaviour when headline sectionning command is a function
commitba38de197eb0662d503d6e237c6812cb20dc269f
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 10 Feb 2013 16:51:06 +0000 (10 17:51 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 10 Feb 2013 16:51:06 +0000 (10 17:51 +0100)
treed603448ef6f6d2b3952f6885fbd202bcc0edee31
parent6b7101b910556fccea3a0437551e3e326c7f0948
ox-latex: Fix behaviour when headline sectionning command is a function

* lisp/ox-latex.el (org-latex-headline): When a function returns
  a sectionning command, only one placeholder should be required.

Thanks to Florian Beck for reporting this.
lisp/ox-latex.el