[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 2452f5de6d 1/2: org-export-get-all-transcoders: Fix
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 2452f5de6d 1/2: org-export-get-all-transcoders: Fix when :parent is not symbol |
Date: |
Sat, 29 Jul 2023 06:58:18 -0400 (EDT) |
branch: externals/org
commit 2452f5de6d742b7cf8902a87b509de5749f2e2c4
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
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 8b1983de17..a2ecc4c828 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)))