Subject: bug#62004: 30.0.50; comp-run-async-workers failure when default-directory deleted

From: No Wayman <[email-masked]>
Date: Tue, 07 Mar 2023 11:30:44 -0500

Eli Zaretskii <[email-masked]> writes:

>> If tested LGTM, another option (maybe safer?) would be to use
>> `invocation-directory'.
>
> I think I'd prefer invocation-directory, indeed.

I don't see how temporary-file-directory is any less safe 
considering the function relies on make-temp-file, which uses that 
directory itself.
But feel free to alter the patch however you see fit.