Function: tramp-crypt-file-name-for-operation
tramp-crypt-file-name-for-operation is a byte-compiled function
defined in tramp-crypt.el.gz.
Signature
(tramp-crypt-file-name-for-operation OPERATION &rest ARGS)
Documentation
Like tramp-file-name-for-operation, but for encrypted remote files.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-crypt.el.gz
(defsubst tramp-crypt-file-name-for-operation (operation &rest args)
"Like `tramp-file-name-for-operation', but for encrypted remote files."
(let ((tfnfo (apply #'tramp-file-name-for-operation operation args)))
;; `tramp-file-name-for-operation' returns already the first argument
;; if it is remote. So we check a possible second argument.
(unless (tramp-crypt-file-name-p tfnfo)
(setq tfnfo (apply
#'tramp-file-name-for-operation operation
(cons tramp-compat-temporary-file-directory (cdr args)))))
tfnfo))