From 2452f5de6d742b7cf8902a87b509de5749f2e2c4 Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Sat, 29 Jul 2023 11:26:03 +0300 Subject: [PATCH] org-export-get-all-transcoders: Fix when :parent is not symbol * lisp/ox.el (org-export-get-all-transcoders): Handle :parent backend not being symbol. --- lisp/ox.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 8b1983de1..a2ecc4c82 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -1119,7 +1119,7 @@ if any." (let ((transcoders (org-export-backend-transcoders backend)) parent) (while (setq parent (org-export-backend-parent backend)) - (setq backend (org-export-get-backend parent)) + (setq backend (if (symbolp parent) (org-export-get-backend parent) parent)) (setq transcoders (append transcoders (org-export-backend-transcoders backend)))) transcoders)))