Function: sops--write-contents-function

sops--write-contents-function is a natively compiled function defined in sops.el.

Signature

(sops--write-contents-function)

Documentation

Hook function for write-contents-functions.

Returns t when save was handled (skipping normal write). Signals user-error on save failure.

Source Code

;; Defined in /nix/store/vihl6lkzddv9xrsrsznvqdjq27g2i30p-emacs-packages-deps/share/emacs/site-lisp/elpa/sops-20260920.2121/sops.el
(defun sops--write-contents-function ()
  "Hook function for `write-contents-functions'.
Returns t when save was handled (skipping normal write).
Signals `user-error' on save failure."
  (sops--encrypt-and-write))