Martin Buchholz wrote:
 >>>>> "Lars" == Lars Magne Ingebrigtsen
<larsi(a)ifi.uio.no> writes:
 
 Lars> Emacs has temporary-file-directory, which defaults to "/tmp/". 
It's a 
 Lars> nice variable to have, since all other temp dir variables can use that 
 Lars> variable as the default value, so I think XEmacs should have it as well.
 
 Seems reasonable.  Here's the trivial untested patch:
 
 1998-12-21  Martin Buchholz  <martin(a)xemacs.org>
 
 	* files.el (temporary-file-directory): Add new variable,
 	compatible with FSF Emacs 20.3 
How about:
	(defvar temporary-file-directory
                (file-name-as-directory (temp-directory)))
If the existing definition of temp-directory is considered incorrect,
that should probably be changed, rather than having both a function
and a variable, which may refer to different directories.
-- 
Glynn Clements <glynn(a)sensei.co.uk>