(mime-temp-directory): Use TMPDIR, TMP, or TEMP environment variables.
authorshuhei-k <shuhei-k>
Thu, 23 Apr 1998 11:54:26 +0000 (11:54 +0000)
committershuhei-k <shuhei-k>
Thu, 23 Apr 1998 11:54:26 +0000 (11:54 +0000)
mel.el

diff --git a/mel.el b/mel.el
index 9cc504e..be8a26f 100644 (file)
--- a/mel.el
+++ b/mel.el
@@ -36,6 +36,9 @@
 
 (defvar mime-temp-directory (or (getenv "MIME_TMP_DIR")
                                (getenv "TM_TMP_DIR")
+                               (getenv "TMPDIR")
+                               (getenv "TMP")
+                               (getenv "TEMP")
                                "/tmp/")
   "*Directory for temporary files.")