Function: mm-make-temp-file

mm-make-temp-file is a function alias for make-temp-file, defined in files.el.gz.

This function is obsolete since 26.1; use make-temp-file instead.

Signature

(mm-make-temp-file PREFIX &optional DIR-FLAG SUFFIX TEXT)

Documentation

Create a temporary file.

The returned file name (created by appending some random characters at the end of PREFIX, and expanding against temporary-file-directory(var)/temporary-file-directory(fun) if necessary), is guaranteed to point to a newly created file. You can then use write-region to write new data into the file.

If DIR-FLAG is non-nil, create a new empty directory instead of a file.

If SUFFIX is non-nil, add that at the end of the file name.

If TEXT is a string, insert it into the new file; DIR-FLAG should be nil. Otherwise the file will be empty.

Aliases

emerge-make-temp-file (obsolete since 30.1) pgg-make-temp-file idlwave-shell-make-temp-file (obsolete since 27.1) mm-make-temp-file (obsolete since 26.1)