From b4ffae0d096d155e76b37012fc0268f7ebe7aa70 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 17 Mar 2014 10:25:57 +0100 Subject: [PATCH] ox-ascii: Fix radio link * lisp/ox-ascii.el (org-ascii-link): Correctly handle case mismatch between radio targets and radio links. --- lisp/ox-ascii.el | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index e8f1b1f41..031f4aac4 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -1385,12 +1385,8 @@ INFO is a plist holding contextual information." (let ((ref (org-element-property :path link))) (format (org-export-get-coderef-format ref desc) (org-export-resolve-coderef ref info)))) - ;; Do not apply a special syntax on radio links. Though, use - ;; transcoded target's contents as output. - ((string= type "radio") - (let ((destination (org-export-resolve-radio-link link info))) - (when destination - (org-export-data (org-element-contents destination) info)))) + ;; Do not apply a special syntax on radio links. + ((string= type "radio") desc) ;; Do not apply a special syntax on fuzzy links pointing to ;; targets. ((string= type "fuzzy")