;;; epg-config.el --- configuration of the EasyPG Library
-;; Copyright (C) 2006-2012 Free Software Foundation, Inc.
+;; Copyright (C) 2006-2015 Free Software Foundation, Inc.
;; Author: Daiki Ueno <ueno@unixuser.org>
;; Keywords: PGP, GnuPG
: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)