Usually, when you open a file, Emacs prompts you to
run M-x make-directory RET RET if the directory doesn't exist.
However, after writing my own advice, I realized that opening files in directories that don't exist was giving me a lot of errors. After digging a bit, I found that apparently
make-process tries to set the current directory to the buffer's
default-directory. Since it doesn't exist yet, it fails with an error saying that setting the directory didn't work.
Is there a way to prevent this, and still have the
make-process command work? I looked at the keyword arguments, but I couldn't find any that would prevent the working directory from being set.