;; Copyright (C) 1995,1996,1997 Free Software Foundation, Inc.
 
 ;; Author: MORIOKA Tomohiko <morioka@jaist.ac.jp>
-;; Version: $Id: mime-def.el,v 0.40 1997-03-04 13:00:08 morioka Exp $
+;; Version: $Id: mime-def.el,v 0.41 1997-03-04 13:23:15 morioka Exp $
 ;; Keywords: definition, MIME, multimedia, mail, news
 
 ;; This file is part of SEMI (SEMI is Emacs MIME Interfaces).
 ;;; @ variables
 ;;;
 
-(defvar mime-temp-directory (or (getenv "TM_TMP_DIR") "/tmp/")
+(defvar mime-temp-directory (or (getenv "MIME_TMP_DIR")
+                               (getenv "TM_TMP_DIR")
+                               "/tmp/")
   "*Directory for temporary files.")
 
 (defvar mime/use-multi-frame