diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/epg-config.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index e92bcd62a66..c41d97dbfac 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el @@ -39,10 +39,11 @@ :group 'data :group 'external) -(defcustom epg-gpg-program (cond ((executable-find "gpg") "gpg") - ((executable-find "gpg2") "gpg2") - (t "gpg")) +(defcustom epg-gpg-program (if (executable-find "gpg2") + "gpg2" + "gpg") "The `gpg' executable." + :version "25.1" :group 'epg :type 'string) |