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.
This commit is contained in:
Ihor Radchenko 2023-07-29 11:26:03 +03:00
parent de9f89e4be
commit 2452f5de6d
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -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)))