epa-pinentry-mode -> epg-pinentry-mode
Because epa-pinentry-mode is deprecated in 27+
This commit is contained in:
parent
efa599f076
commit
09d344541f
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,10 @@
|
|||
(after! epa
|
||||
;; With GPG 2.1+, this forces gpg-agent to use the Emacs minibuffer to prompt
|
||||
;; for the key passphrase.
|
||||
(setq epa-pinentry-mode 'loopback)
|
||||
(set (if EMACS27+
|
||||
'epg-pinentry-mode
|
||||
'epa-pinentry-mode) ; DEPRECATED `epa-pinentry-mode'
|
||||
'loopback)
|
||||
;; Default to the first secret key available in your keyring.
|
||||
(setq-default
|
||||
epa-file-encrypt-to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue