temporary-file-directory

temporary-file-directory is a variable defined in `C source code'.
Its value is
"/tmp/"


Documentation:
The directory for writing temporary files.

You can customize this variable.