summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJambunathan K <kjambunathan@gmail.com>2012-04-20 22:23:43 +0530
committerJambunathan K <kjambunathan@gmail.com>2012-04-20 22:46:09 +0530
commit7d4e7a8763eff82e11253deba0dbd148db87f2c8 (patch)
tree10544a3308095d48b43ceb94f43b1f6fe431f63f
parent030d1e5e62cf5f33db24bc38e3ad56535b9d5dfb (diff)
downloadorg-mode-7d4e7a8763eff82e11253deba0dbd148db87f2c8.tar.gz
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
-rw-r--r--lisp/org-odt.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/lisp/org-odt.el b/lisp/org-odt.el
index 234272a..2e984a5 100644
--- a/lisp/org-odt.el
+++ b/lisp/org-odt.el
@@ -1689,7 +1689,6 @@ ATTR is a string of other attributes of the a element."
(or (not thefile) (string= thefile ""))
(plist-get org-lparse-opt-plist :section-numbers)
(setq sec-frag fragment)
- (org-find-text-property-in-string 'org-no-description fragment)
(or (string-match "\\`sec\\(\\(-[0-9]+\\)+\\)" sec-frag)
(and (setq sec-frag
(loop for alias in org-export-target-aliases do