Skip to content

Commit

Permalink
Renames is-vault-file calls
Browse files Browse the repository at this point in the history
  • Loading branch information
zellio committed Oct 19, 2021
1 parent da1c625 commit adf0427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible-vault.el
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ Ensures deletion of ansible-vault generated password files."

;; Only re-encrypt the buffer if buffer is changed; otherwise revert
;; to on-disk contents.
(if (and (buffer-modified-p) (not (ansible-vault--is-vault-file)))
(if (and (buffer-modified-p) (not (ansible-vault--is-encrypted-vault-file)))
(ansible-vault-encrypt-current-buffer)
(revert-buffer nil t nil))

Expand Down

0 comments on commit adf0427

Please sign in to comment.