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:
parent
de9f89e4be
commit
2452f5de6d
|
@ -1119,7 +1119,7 @@ if any."
|
||||||
(let ((transcoders (org-export-backend-transcoders backend))
|
(let ((transcoders (org-export-backend-transcoders backend))
|
||||||
parent)
|
parent)
|
||||||
(while (setq parent (org-export-backend-parent backend))
|
(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
|
(setq transcoders
|
||||||
(append transcoders (org-export-backend-transcoders backend))))
|
(append transcoders (org-export-backend-transcoders backend))))
|
||||||
transcoders)))
|
transcoders)))
|
||||||
|
|
Loading…
Reference in New Issue