ansible-vault-mode icon indicating copy to clipboard operation
ansible-vault-mode copied to clipboard

Could ansible-vault-mode-maybe be made part of the package?

Open illumino opened this issue 3 years ago • 0 comments

Zachary,

While reading the documentation for this package, it asks the user to define a function, OK, but that function calls a private function — at least to my understanding of Emacs lisp naming conventions.

(defun ansible-vault-mode-maybe ()
  (when (ansible-vault--is-encrypted-vault-file)
    (ansible-vault-mode 1)))

Could you provide ansible-vault-mode-maybe so users do not have to maintain this code [preferred], or make the private function a public function they can call?

Many Thanks in Advance, Peter Bray Sydney, Australia

illumino avatar Nov 27 '21 08:11 illumino