I have this function:
(defun cpm/org-export--file-beamer-handout () "Export file content to PDF handout. Handout uses a distinctive quote style." (interactive) (let ((org-latex-default-quote-environment "quote-b") (org-export-exclude-tags '("slides" "noexport"))) (org-latex-export-to-pdf nil nil nil nil '(:latex-class "beamer-handout"))))
Which works fine if I am exporting synchronously. But the let binding fails to work if exporting asynchronously. I'm clearly missing something about binding variables with
let. Is there a way to make this work asynchronously?