1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-25 07:27:57 +00:00

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

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