The documentation for org-latex-pdf-process says that it can be a list of strings, or a lisp function.

I have used a function for a long time, but recently it seems to have broken. Now I get an error in org-compile-file. The issue comes in the first line where (commands (org-compile-file-commands source process ext spec err-msg) binds my function to commands, and later that is expected to be a list, but it is a function now. I think this probably occurred in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/lisp/org-macs.el?id=b29f77241681abd6fb12de3b7e26c009cb28c63d

In org-compile-file-commands, I think this line

 ((pred functionp) process)

should instead be

((pred functionp) (list process))

that seems to make it work for me.

Org mode version 9.7-pre (release_9.6.4-337-geaf274

--
John

-----------------------------------
Professor John Kitchin (he/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
https://kitchingroup.cheme.cmu.edu
https://pointbreezepubs.gumroad.com/ pycse bookstore