Function: tramp-make-tramp-temp-file
tramp-make-tramp-temp-file is a byte-compiled function defined in
tramp.el.gz.
Signature
(tramp-make-tramp-temp-file VEC)
Documentation
Create a temporary file on the remote host identified by VEC.
Return the local name of the temporary file.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defun tramp-make-tramp-temp-file (vec)
"Create a temporary file on the remote host identified by VEC.
Return the local name of the temporary file."
(let (create-lockfiles)
(cl-letf (((symbol-function 'tramp-remote-acl-p) #'ignore)
((symbol-function 'tramp-remote-selinux-p) #'ignore)
((symbol-function 'tramp-smb-remote-acl-p) #'ignore)
((symbol-function 'tramp-sudoedit-remote-acl-p) #'ignore)
((symbol-function 'tramp-sudoedit-remote-selinux-p) #'ignore))
(tramp-file-local-name
(make-temp-file
(expand-file-name
tramp-temp-name-prefix (tramp-get-remote-tmpdir vec)))))))