Function: apheleia--make-temp-file
apheleia--make-temp-file is a natively compiled function defined in
apheleia-formatters.el.
Signature
(apheleia--make-temp-file REMOTE PREFIX &optional DIR-FLAG SUFFIX)
Documentation
Create a temporary file optionally on a remote machine.
This function calls make-temp-file or make-nearby-temp-file depending on
the value of REMOTE.
See make-temp-file for a description of PREFIX, DIR-FLAG, and SUFFIX.
Source Code
;; Defined in /nix/store/lwcwryzabcmvjcwwzzs65jrwf7p7d7cs-emacs-packages-deps/share/emacs/site-lisp/elpa/apheleia-20260915.1628/apheleia-formatters.el
(defun apheleia--make-temp-file (remote prefix &optional dir-flag suffix)
"Create a temporary file optionally on a remote machine.
This function calls `make-temp-file' or `make-nearby-temp-file' depending on
the value of REMOTE.
See `make-temp-file' for a description of PREFIX, DIR-FLAG, and SUFFIX."
(funcall
(if remote
#'make-nearby-temp-file
#'make-temp-file)
prefix dir-flag suffix))