>>>> (default-directory >>>> (if tempfile-p temporary-file-directory default-directory)) >>>> ... >>>> (org-latex--precompile-preamble >>>> info preamble >>>> (expand-file-name preamble-hash >>>> temporary-file-directory) >>>> spec) >>> >>> This looks sus. Do you really want to pass (expand-file-name >>> preamble-hash temporary-file-directory) even when tempfile-p is nil? >> >> I think this is correct. I remember us being confused about this too >> before arriving at this solution. I can research this after Tuesday. > > Ok. Maybe a comment can be added explaining that it is really correct > and why.
Added a comment explaining the setup.
