[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org f97877a069: ox-latex: Prefer :latex-src-block-backe
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org f97877a069: ox-latex: Prefer :latex-src-block-backend INFO property over variable |
Date: |
Fri, 1 Sep 2023 06:58:21 -0400 (EDT) |
branch: externals/org
commit f97877a069717a3f8a55c2f1576e00d8daf3b889
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
ox-latex: Prefer :latex-src-block-backend INFO property over variable
* lisp/ox-beamer.el (org-beamer-template):
* lisp/ox-latex.el (org-latex-template): Reuse INFO plist to retrieve
src backend. Direct usage can break user settings where INFO channel
is expected to be modified and have effect.
---
lisp/ox-beamer.el | 2 +-
lisp/ox-latex.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index 2f11994998..1f7700d8fa 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -873,7 +873,7 @@ holding export options."
(and (stringp template)
(format-spec template (org-latex--format-spec info))))
;; engrave-faces-latex preamble
- (when (and (eq org-latex-src-block-backend 'engraved)
+ (when (and (eq (plist-get info :latex-src-block-backend) 'engraved)
(org-element-map (plist-get info :parse-tree)
'(src-block inline-src-block) #'identity
info t))
diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el
index bb1bf4982a..241ef603a7 100644
--- a/lisp/ox-latex.el
+++ b/lisp/ox-latex.el
@@ -2031,7 +2031,7 @@ holding export options."
(and (stringp template)
(format-spec template spec)))
;; engrave-faces-latex preamble
- (when (and (eq org-latex-src-block-backend 'engraved)
+ (when (and (eq (plist-get info :latex-src-block-backend) 'engraved)
(org-element-map (plist-get info :parse-tree)
'(src-block inline-src-block) #'identity
info t))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/org f97877a069: ox-latex: Prefer :latex-src-block-backend INFO property over variable,
ELPA Syncer <=