From 236f6f256f9569ddc8b84da0f64bcd338db938e7 Mon Sep 17 00:00:00 2001 From: IGARASHI Masanao Date: Sun, 11 Jan 2015 19:13:05 +0900 Subject: [PATCH] Use new function `org-export-custom-protocol-maybe' --- ox-rst.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ox-rst.el b/ox-rst.el index 1f9e785..677afd3 100644 --- a/ox-rst.el +++ b/ox-rst.el @@ -1068,9 +1068,10 @@ INFO is a plist holding contextual information." (org-export-read-attribute :attr_rst parent)))) (attributes (let ((attr (org-rst--make-attribute-string attributes-plist))) - (if (org-string-nw-p attr) (concat "\n" attr "\n") ""))) - protocol) + (if (org-string-nw-p attr) (concat "\n" attr "\n") "")))) (cond + ;; Link type is handled by a special function. + ((org-export-custom-protocol-maybe link desc info)) ;; Image file. ((and (plist-get info :rst-inline-images) (org-export-inline-image-p