forked from mirrors/org-mode
ox-latex: Improve warning for unexpected org-latex-src-block-backend
* lisp/ox-latex.el (org-latex-inline-src-block): (org-latex-src-block): Update the warning text, explicitly mentioning the variable name to be adjusted. Reported-by: Guillaume MULLER <guillaume.muller@emse.fr> Link: https://orgmode.org/list/b5c056cb-3258-4a11-2d9b-33c97b112d62@emse.fr
This commit is contained in:
parent
3c3db7b337
commit
85c94ecfc2
|
@ -2425,7 +2425,7 @@ contextual information."
|
|||
(`engraved (org-latex-inline-src-block--engraved info code lang))
|
||||
(`listings (org-latex-inline-src-block--listings info code lang))
|
||||
(oldval
|
||||
(warn "Please update the LaTeX src-block-backend to %s"
|
||||
(warn "Please update `org-latex-src-block-backend' to %s"
|
||||
(if oldval "listings" "verbatim"))
|
||||
(if oldval
|
||||
(org-latex-inline-src-block--listings info code lang)
|
||||
|
@ -3321,7 +3321,7 @@ contextual information."
|
|||
(`listings #'org-latex-src-block--listings)
|
||||
((guard custom-env) #'org-latex-src-block--custom)
|
||||
(oldval
|
||||
(warn "Please update the LaTeX src-block-backend to %s"
|
||||
(warn "Please update `org-latex-src-block-backend' to %s"
|
||||
(if oldval "listings" "verbatim"))
|
||||
(if oldval
|
||||
#'org-latex-src-block--listings
|
||||
|
|
Loading…
Reference in New Issue