Use `temporary-file-directory' instead of `mime-temp-directory'.
authormorioka <morioka>
Sat, 24 Oct 1998 13:32:56 +0000 (13:32 +0000)
committermorioka <morioka>
Sat, 24 Oct 1998 13:32:56 +0000 (13:32 +0000)
mime-edit.el
mime-image.el
mime-partial.el
mime-pgp.el
mime-play.el

index 2187b32..709c093 100644 (file)
@@ -2413,7 +2413,7 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n"
   (let* ((mime-edit-draft-file-name
          (or (buffer-file-name)
              (make-temp-name
-              (expand-file-name "mime-draft" mime-temp-directory))))
+              (expand-file-name "mime-draft" temporary-file-directory))))
         (separator mail-header-separator)
         (id (concat "\""
                     (replace-space-with-underline (current-time-string))
index 1e20ac0..d5e4aa0 100644 (file)
          ((eq (aref gl 0) 'xbm)
           (let ((xbm-file
                  (make-temp-name
-                  (expand-file-name "tm" mime-temp-directory))))
+                  (expand-file-name "tm" temporary-file-directory))))
             (with-temp-buffer
               (insert (aref gl 2))
               (write-region (point-min)(point-max) xbm-file)
index f5378eb..e085eab 100644 (file)
@@ -39,7 +39,8 @@ partial messages using mime-view."
         (subject-buf (eval (cdr (assq 'summary-buffer-exp situation))))
         subject-id
         (root-dir (expand-file-name
-                   (concat "m-prts-" (user-login-name)) mime-temp-directory))
+                   (concat "m-prts-" (user-login-name))
+                   temporary-file-directory))
         (request-partial-message-method
          (cdr (assq 'request-partial-message-method situation)))
         full-file)
index 67fbb6e..0facca0 100644 (file)
@@ -166,7 +166,7 @@ It should be ISO 639 2 letter language code such as en, ja, ...")
                   (1- knum)
                 (1+ knum)))
         (orig-entity (nth onum (mime-entity-children mother)))
-        (basename (expand-file-name "tm" mime-temp-directory))
+        (basename (expand-file-name "tm" temporary-file-directory))
         (orig-file (make-temp-name basename))
         (sig-file (concat orig-file ".sig"))
         )
index 4772f9a..11f904b 100644 (file)
@@ -324,9 +324,9 @@ specified, play as it.  Default MODE is \"play\"."
              (name (mime-entity-safe-filename entity)))
          (setq name
                (if (and name (not (string= name "")))
-                   (expand-file-name name mime-temp-directory)
+                   (expand-file-name name temporary-file-directory)
                  (make-temp-name
-                  (expand-file-name "EMI" mime-temp-directory))
+                  (expand-file-name "EMI" temporary-file-directory))
                  ))
           (mime-write-entity-content entity name)
          (message "External method is starting...")
@@ -543,7 +543,7 @@ It is registered to variable `mime-preview-quitting-method-alist'."
   (goto-char (mime-entity-point-min entity))
   (let* ((root-dir
          (expand-file-name
-          (concat "m-prts-" (user-login-name)) mime-temp-directory))
+          (concat "m-prts-" (user-login-name)) temporary-file-directory))
         (id (cdr (assoc "id" cal)))
         (number (cdr (assoc "number" cal)))
         (total (cdr (assoc "total" cal)))