changeset 25484:a8383dbd7250

(small-temporary-file-directory): New variable.
author Eli Zaretskii <eliz@gnu.org>
date Thu, 02 Sep 1999 12:24:54 +0000
parents cd1649a27c08
children d862057a6c14
files lisp/files.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/files.el	Thu Sep 02 12:05:07 1999 +0000
+++ b/lisp/files.el	Thu Sep 02 12:24:54 1999 +0000
@@ -380,6 +380,12 @@
 	  (or (getenv "TMPDIR") (getenv "TMP") (getenv "TEMP") "/tmp"))))
   "The directory for writing temporary files.")
 
+(defvar small-temporary-file-directory
+  (if (eq system-type 'ms-dos) (getenv "TMPDIR") temporary-file-directory)
+  "The directory for writing small temporary files.
+This is for systems that have fast storage with limited space,
+such as a RAM disk.")
+
 ;; The system null device. (Should reference NULL_DEVICE from C.)
 (defvar null-device "/dev/null" "The system null device.")