Hi Jake, Jacob Gerlach <jacobgerl...@gmail.com> writes:
> I thought I had successfully used this variable, but after restarting > emacs, I can no longer reproduce the documented behavior. > > Given the following org file: > ---------- > #+BEGIN_SRC sh :exports code > echo "Hello" > #+END_SRC > > # Local Variables: > # org-latex-listings: t > # org-latex-custom-lang-environments: (quote ((sh "myverbatim"))) > # END: > ---------- If I explicitly eval: (org-babel-do-load-languages 'org-babel-load-languages '((sh . t))) (setq org-latex-custom-lang-environments '((sh "myverbatim")) org-latex-listings t) And export #+BEGIN_SRC sh :exports code echo "Hello" #+END_SRC I get the the block wrapped in the desired environment. I don't know why your local variables are ignored, but it seems the result is the same when using the Org-specific BIND keyword... Rasmus -- And I faced endless streams of vendor-approved Ikea furniture. . .