mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-02 14:53:38 -05:00
epa-pinentry-mode -> epg-pinentry-mode
Because epa-pinentry-mode is deprecated in 27+
This commit is contained in:
@@ -31,7 +31,10 @@
|
|||||||
(after! epa
|
(after! epa
|
||||||
;; With GPG 2.1+, this forces gpg-agent to use the Emacs minibuffer to prompt
|
;; With GPG 2.1+, this forces gpg-agent to use the Emacs minibuffer to prompt
|
||||||
;; for the key passphrase.
|
;; 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.
|
;; Default to the first secret key available in your keyring.
|
||||||
(setq-default
|
(setq-default
|
||||||
epa-file-encrypt-to
|
epa-file-encrypt-to
|
||||||
|
Reference in New Issue
Block a user