org-odt.el: Fix handling of internal links
commit7d4e7a8763eff82e11253deba0dbd148db87f2c8
authorJambunathan K <kjambunathan@gmail.com>
Fri, 20 Apr 2012 16:53:43 +0000 (20 22:23 +0530)
committerJambunathan K <kjambunathan@gmail.com>
Fri, 20 Apr 2012 17:16:09 +0000 (20 22:46 +0530)
tree10544a3308095d48b43ceb94f43b1f6fe431f63f
parent030d1e5e62cf5f33db24bc38e3ad56535b9d5dfb
org-odt.el: Fix handling of internal links

* lisp/org-odt.el (org-odt-format-org-link): Pay no heed to
whether the internal links destined for headlines provide a
description or not.  In fact, the `org-store-link' and
`org-insert-link' create internal links which do have a
description.

This fixes an issue where internal links terminating at an
invisible target (that is bound to a headline) was badly
rendered.  Refer following thread:
http://lists.gnu.org/archive/html/emacs-orgmode/2012-04/msg00757.html
lisp/org-odt.el