Function: ansible-encrypt-buffer

ansible-encrypt-buffer is an interactive and natively compiled function defined in ansible.el.

Signature

(ansible-encrypt-buffer)

Documentation

Encrypt current buffer.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/ihs1wd4idvapzygy87ss7ddr2pwcpsxg-emacs-packages-deps/share/emacs/site-lisp/elpa/ansible-20260607.1852/ansible.el
(defun ansible-encrypt-buffer ()
  "Encrypt current buffer."
  (interactive)
  (if (buffer-modified-p)
      (ansible-vault-buffer "encrypt")
    (revert-buffer t t)))