Function: org-babel-temp-file

org-babel-temp-file is a byte-compiled function defined in ob-core.el.gz.

Signature

(org-babel-temp-file PREFIX &optional SUFFIX)

Documentation

Create a temporary file in the org-babel-temporary-directory.

Passes PREFIX and SUFFIX directly to make-temp-file with the value of function temporary-file-directory(var)/temporary-file-directory(fun) temporarily set to the value of org-babel-temporary-directory.

Source Code

;; Defined in /usr/src/emacs/lisp/org/ob-core.el.gz
(defun org-babel-temp-file (prefix &optional suffix)
  "Create a temporary file in the `org-babel-temporary-directory'.
Passes PREFIX and SUFFIX directly to `make-temp-file' with the
value of function `temporary-file-directory' temporarily set to the
value of `org-babel-temporary-directory'."
  (make-temp-file
   (concat (file-name-as-directory (org-babel-temp-directory)) prefix)
   nil
   suffix))