Mercurial > emacs
changeset 25419:ebadb1855668
(metamail-region): Use temporary-file-directory.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 28 Aug 1999 18:25:16 +0000 |
parents | b6e2164dbed8 |
children | 1026df56062c |
files | lisp/mail/metamail.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/metamail.el Sat Aug 28 18:24:54 1999 +0000 +++ b/lisp/mail/metamail.el Sat Aug 28 18:25:16 1999 +0000 @@ -3,7 +3,7 @@ ;; Copyright (C) 1993, 1996 Free Software Foundation, Inc. ;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> -;; Version: $Id: metamail.el,v 1.10 1998/06/10 19:10:55 fx Exp fx $ +;; Version: $Id: metamail.el,v 1.11 1999/01/11 12:36:15 fx Exp rms $ ;; Keywords: mail, news, mime, multimedia ;; This file is part of GNU Emacs. @@ -165,7 +165,7 @@ (interactive "r\np") (let ((curbuf (current-buffer)) (buffer-read-only nil) - (metafile (make-temp-name "/tmp/metamail")) + (metafile (make-temp-name (expand-file-name "metamail" temporary-file-directory))) (option-environment (list (format "EMACS_VIEW_MODE=%d" (if (numberp viewmode) viewmode 1)))))