changeset 22085:e8163732f7b4

(ange-ftp-tmp-name-template): Use system-tmp-directory.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 May 1998 03:38:59 +0000
parents 08f31e440c92
children 81147e51c3e2
files lisp/ange-ftp.el
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ange-ftp.el	Sat May 16 03:38:20 1998 +0000
+++ b/lisp/ange-ftp.el	Sat May 16 03:38:59 1998 +0000
@@ -700,10 +700,8 @@
   :group 'ange-ftp
   :type 'regexp)
 
-(defcustom ange-ftp-tmp-name-template
-  (if (memq system-type '(ms-dos windows-nt))
-      (concat (or (getenv "TEMP") (getenv "TMP") "c:/temp") "/ange-ftp")
-    "/tmp/ange-ftp")
+(defcustom ange-ftp-tmp-name-template 
+  (concat system-tmp-directory "/ange-ftp")
   "*Template used to create temporary files."
   :group 'ange-ftp
   :type 'directory)