emacs: use epg-gpg-program
authorJohn Byrnes <john@johnbyrnes.info>
Sun, 12 Mar 2017 19:26:16 +0000 (21:26 +0200)
committerDavid Bremner <david@tethera.net>
Tue, 14 Mar 2017 00:12:14 +0000 (21:12 -0300)
commitf0d06c8ca3fce15c9e264445485bd93a6de8d25e
treeb49629beeaad51980edea7bdcad7fa6618651a36
parentc0c5645538d9dda84657602ee4189f4ff3ca1aeb
emacs: use epg-gpg-program

Adjusted notmuch-crypto gpg call-process function to respect
the GPG program set by the EasyPG epg-gpg-program variable.

This is to correct a problem observed on NixOS where only gpg2 is
installed by default. The Notmuch Emacs frontend fails when trying to
access someone's key to verify their signature when it cannot find the
GPG binary.
emacs/notmuch-crypto.el