On 03/10/2026 10:59, James Harkins wrote:
Warning (emacs): Please update ‘org-latex-src-block-backend’ to listings An LLM tells me this is because 'org-latex-listings' is set somewhere. C-h v confirms that its value is "listings". 'org-latex-listings' does not appear in my .emacs file, nor is it set in the beamer document I'm exporting. The only reference to listings in my Emacs file is '(org-latex-src-block-backend 'listings) OK, so then I manually did (setq org-latex-listings nil) -- Now it's worse because it's ignoring the #+BIND: org-latex-listings-options at the top of the Beamer document, AND it's still giving me the warning. (Huh?) The situation I would like is something like this: - Beamer export uses listings for src blocks. - Listings blocks respect the specified listings options. - No variable name warnings. What do I need to do to get this to work? tia, hjh
Hi James, have you tried to add (require 'ox-latex) (setq org-latex-src-block-backend 'listings) in your Emacs Lisp code or # org-latex-src-block-backend 'listings in your local variables? best, /PA -- Pedro A. Aranda ox-latex & ox-beamer maintainer Sagen's Paradeiser! (ORF: Als Radiohören gefährlich war) => write BE! IA: onomatopeya del rebuzno 2nd year of the New Koprocracy
