ox-texinfo: Fix heading text
commit710e40f96af195512bb8f07acbce5a0bd1e9d38a
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Fri, 8 Aug 2014 22:43:39 +0000 (9 00:43 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 10 Aug 2014 20:49:18 +0000 (10 22:49 +0200)
tree0f89bf38bdcb9764c6060c5f91cc8a7e7286f86f
parent1faeb4e680623027cab9c6c7637034c103cd3227
ox-texinfo: Fix heading text

* lisp/ox-texinfo.el (org-texinfo-headline): Do not sanitize heading
  text for sectioning command.

For example

  * This is ~code~

should be possibly exported as

  @chapter This is @code{code}

not

  @chapter This is @@code@{code@}
lisp/ox-texinfo.el