epg: Automatically start pinentry server
commitbd8b5ac77250d9fe0634d58a30a3bf6d2497725a
authorDaiki Ueno <ueno@gnu.org>
Thu, 16 Jul 2015 06:43:03 +0000 (16 15:43 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 16 Jul 2015 06:43:03 +0000 (16 15:43 +0900)
tree9c881465e410f599cefc34a1574a384319ed89fa
parentf90fe8e76fd3ee8115db8b2ddc7b820267bf1bf9
epg: Automatically start pinentry server

* epg-config.el (epg-gpgconf-program): New variable.
* epg.el (epg--start): Call `pinentry-start' if
allow-emacs-pinentry is set in ~/.gnupg/gpg-agent.conf.
lisp/epg-config.el
lisp/epg.el