Fix GPG in Emacs
This commit is contained in:
parent
1fd9b5aa80
commit
cc0b32e016
1 changed files with 8 additions and 0 deletions
|
@ -51,3 +51,11 @@
|
||||||
(add-hook 'electric-quote-inhibit-functions #'oni-in-word-p))
|
(add-hook 'electric-quote-inhibit-functions #'oni-in-word-p))
|
||||||
|
|
||||||
(with-eval-after-load 'yaml-mode (require 'oni-yaml))
|
(with-eval-after-load 'yaml-mode (require 'oni-yaml))
|
||||||
|
|
||||||
|
(defvar epg-gpg-program)
|
||||||
|
(with-eval-after-load 'epg-config
|
||||||
|
;; This is necessary because otherwise Emacs will select the wrong version of
|
||||||
|
;; GnuPG through gpg2. gpg is installed by Guix and gpg2 by Archlinux. EPG
|
||||||
|
;; seems to prefer gpg2 over gpg and now it seems that the versions of both
|
||||||
|
;; have diverged enough that it now matters which is used.
|
||||||
|
(setq epg-gpg-program "gpg"))
|
||||||
|
|
Loading…
Reference in a new issue