Function: tramp-crypt-handle-lock-file

tramp-crypt-handle-lock-file is a byte-compiled function defined in tramp-crypt.el.gz.

Signature

(tramp-crypt-handle-lock-file FILENAME)

Documentation

Like lock-file for Tramp files.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp-crypt.el.gz
(defun tramp-crypt-handle-lock-file (filename)
  "Like `lock-file' for Tramp files."
  (let (tramp-crypt-enabled)
    ;; `lock-file' exists since Emacs 28.1.
    (tramp-compat-funcall
     'lock-file (tramp-crypt-encrypt-file-name filename))))