Variable: small-temporary-file-directory
small-temporary-file-directory is a customizable variable defined in
files.el.gz.
Value
nil
Documentation
The directory for writing small temporary files.
If non-nil, this directory is used instead of temporary-file-directory(var)/temporary-file-directory(fun)
by programs that create small temporary files. This is for systems that
have fast storage with limited space, such as a RAM disk.
Probably introduced at or before Emacs version 21.1.
Source Code
;; Defined in /usr/src/emacs/lisp/files.el.gz
(defcustom small-temporary-file-directory
(if (eq system-type 'ms-dos) (getenv "TMPDIR"))
"The directory for writing small temporary files.
If non-nil, this directory is used instead of `temporary-file-directory'
by programs that create small temporary files. This is for systems that
have fast storage with limited space, such as a RAM disk."
:group 'files
:initialize #'custom-initialize-delay
:type '(choice (const nil) directory))