Mail Archives: djgpp-workers/1999/03/23/06:09:37
From: Michael Bukin <M DOT A DOT Bukin AT inp DOT nsk DOT su>
It is already there in elisp files lisp/files.el and lisp/startup.el
(for Emacs-20.3), look for variable `temporary-file-directory'.
Emacs doesn't use temporary-file-directory for temporary files used to
redirect the standard streams of sub-processes. So the files.el code
is not relevant to this particular problem.
But
order in which Emacs searches for tmp directory location is different
for ms-dos and windows. The only reason I can imagine is faster
startup (TEMP is more likely to be defined in ms-dos), but it is
somewhat ridiculous.
Why ridiculous? The NT port is maintained by other people, and
different people have different considerations on what's right and
what's wrong.
Note that in 20.3, TMPDIR will also be used, since msdos.c defines it
at startup. So it's a moot point anyway.
- Raw text -