From 3135d242394082c60c89a7941b8ba510a95264de Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 13 Apr 2016 23:50:15 +0200 Subject: [PATCH] ox-ascii: Small refactoring * lisp/ox-ascii.el (org-ascii--describe-links): Small refactoring. --- lisp/ox-ascii.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/ox-ascii.el b/lisp/ox-ascii.el index 283f74fef..68a221f10 100644 --- a/lisp/ox-ascii.el +++ b/lisp/ox-ascii.el @@ -929,11 +929,7 @@ channel." ((not (org-element-contents link)) nil) ;; Do not add a link already handled by custom export ;; functions. - ((let ((protocol (nth 2 (assoc type org-link-protocols))) - (path (org-element-property :path link))) - (and (functionp protocol) - (funcall protocol (org-link-unescape path) anchor 'ascii))) - nil) + ((org-export-custom-protocol-maybe link anchor 'ascii) nil) (t (concat (org-ascii--fill-string -- 2.11.4.GIT