diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-09-27 12:26:54 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2014-09-27 12:26:54 -0400 |
commit | 5551acd251f6ca0adea570a3b3781788fdae6a2a (patch) | |
tree | 137e9238857c82b05bf2f7ba0743c077c68e3857 /lisp/epg-config.el | |
parent | 19e0f0af6d27179baf76b5ebc67588dfc4b70588 (diff) | |
download | emacs-5551acd251f6ca0adea570a3b3781788fdae6a2a.tar.gz |
* lisp/epg-config.el (epg-gpg-program): Use the plain program names rather
than their absolute file name.
Diffstat (limited to 'lisp/epg-config.el')
-rw-r--r-- | lisp/epg-config.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 10b37041443..16ed6e1f5c9 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el @@ -39,9 +39,9 @@ :group 'data :group 'external) -(defcustom epg-gpg-program (or (executable-find "gpg") - (executable-find "gpg2") - "gpg") +(defcustom epg-gpg-program (cond ((executable-find "gpg") "gpg") + ((executable-find "gpg2") "gpg2") + (t "gpg")) "The `gpg' executable." :group 'epg :type 'string) |