aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-16 03:43:44 +0000
committerRichard M. Stallman1998-05-16 03:43:44 +0000
commit7b559d168fcb75d3d86f12f321059fe656c4cac2 (patch)
tree980eb6067ae50017fda1402717871cdbbb8e7154
parente4244d3124aa91a9603597c14a8e0d5b7c54512e (diff)
downloademacs-7b559d168fcb75d3d86f12f321059fe656c4cac2.tar.gz
emacs-7b559d168fcb75d3d86f12f321059fe656c4cac2.zip
(jka-compr-temp-name-template): Use system-tmp-directory
-rw-r--r--lisp/jka-compr.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el
index 0f02f74df8a..bffa1fc6f02 100644
--- a/lisp/jka-compr.el
+++ b/lisp/jka-compr.el
@@ -347,11 +347,7 @@ to keep: LEN chars starting BEG chars from the beginning."
347;;; from ange-ftp. 347;;; from ange-ftp.
348 348
349(defcustom jka-compr-temp-name-template 349(defcustom jka-compr-temp-name-template
350 (expand-file-name "jka-com" 350 (expand-file-name "jka-com" system-tmp-directory)
351 (if (memq system-type '(ms-dos windows-nt))
352 (concat (or (getenv "TEMP") (getenv "TMP") "c:/temp")
353 "/")
354 (or (getenv "TMPDIR") "/tmp/")))
355 "Prefix added to all temp files created by jka-compr. 351 "Prefix added to all temp files created by jka-compr.
356There should be no more than seven characters after the final `/'." 352There should be no more than seven characters after the final `/'."
357 :type 'string 353 :type 'string