From 8c1ccf8b5641be41ea39775745e6eaa12702f27a Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 1 Feb 2023 09:40:53 -0500 Subject: [PATCH] fix: Pass on the info to `org-export-custom-protocol-maybe` This is necessary for exporting of custom link protocols to work. This issue was originally reported in https://github.com/tecosaur/org-glossary/issues/9. Fixes https://github.com/kaushalmodi/ox-hugo/issues/702. --- ox-hugo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ox-hugo.el b/ox-hugo.el index 631ef57d..09020977 100644 --- a/ox-hugo.el +++ b/ox-hugo.el @@ -2744,7 +2744,7 @@ and rewrite link paths to make blogging more seamless." ;; (message "[org-hugo-link DBG] link type: %s" type) (cond ;; Link type is handled by a special function. - ((org-export-custom-protocol-maybe link desc 'md)) + ((org-export-custom-protocol-maybe link desc 'md info)) ((member type '("custom-id" "id" "fuzzy")) ;<>, #+name, heading links (let ((destination (if (string= type "fuzzy")