diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-12-07 21:22:27 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-12-07 21:22:27 +0000 |
commit | c2c5a18bb84b004945398a6a2dd891c634f985a4 (patch) | |
tree | 4e10b72bbf13d9e83fe6aacbfd5abf20b1f593db | |
parent | a5f708cca374ef45cd6c7983661bab5799392318 (diff) | |
download | emacs-c2c5a18bb84b004945398a6a2dd891c634f985a4.tar.gz |
(jka-compr-temp-name-template): Initialize using TMPDIR.
-rw-r--r-- | lisp/jka-compr.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index 02c32e4b70e..ef1a25f591a 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el @@ -316,7 +316,8 @@ to keep: LEN chars starting BEG chars from the beginning." ;;; from ange-ftp. (defvar jka-compr-temp-name-template - "/tmp/jka-com" + (expand-file-name "jka-com" + (or (getenv "TMPDIR") "/tmp/")) "Prefix added to all temp files created by jka-compr. There should be no more than seven characters after the final `/'") |