ox-texinfo: Fix fuzzy links to headlines
commit1efac41f03c6f17f62f6c2590d87309816072560
authorNicolas Goaziou <n.goaziou@gmail.com>
Wed, 20 Feb 2013 16:05:35 +0000 (20 11:05 -0500)
committerJonathan Leech-Pepin <jonathan.leechpepin@gmail.com>
Wed, 20 Feb 2013 16:10:49 +0000 (20 11:10 -0500)
tree20e95b722803787455c85fe1455b350cfe25a7e1
parent2bd97a5ae67315be4f8b215c4a677d7f4563f86b
ox-texinfo: Fix fuzzy links to headlines

* lisp/ox-texinfo.el (org-texinfo--get-node): New function.
(org-texinfo-headline, org-texinfo-link): Use new function.

The same function is used to create @node entries and links to nodes,
to avoid any discrepancy between them
lisp/ox-texinfo.el