Variable: tex-directory
tex-directory is a customizable variable defined in tex-mode.el.gz.
Value
"."
Documentation
Directory in which temporary files are written.
You can make this /tmp if your TEXINPUTS has no relative directories in it
and you don't try to apply M-x tex-region (tex-region) or M-x tex-buffer (tex-buffer) when there are
\input commands with relative directories.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
;;;###autoload
(defcustom tex-directory (purecopy ".")
"Directory in which temporary files are written.
You can make this `/tmp' if your TEXINPUTS has no relative directories in it
and you don't try to apply \\[tex-region] or \\[tex-buffer] when there are
`\\input' commands with relative directories."
:type 'directory
:group 'tex-file)