X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ac3232837188f7e1c4ffe34b76edede0ccb54f5e..362b9d483c714a8fd87966ddbd8686850f870e34:/lisp/epg-config.el diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 29ac8b09c3..b556464e6e 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el @@ -1,8 +1,10 @@ ;;; epg-config.el --- configuration of the EasyPG Library -;; Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc. + +;; Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. ;; Author: Daiki Ueno ;; Keywords: PGP, GnuPG +;; Package: epg ;; This file is part of GNU Emacs. @@ -31,11 +33,13 @@ "Report bugs to this address.") (defgroup epg () - "The EasyPG Library" + "The EasyPG library." :version "23.1" - :group 'emacs) + :group 'data) -(defcustom epg-gpg-program "gpg" +(defcustom epg-gpg-program (or (executable-find "gpg") + (executable-find "gpg2") + "gpg") "The `gpg' executable." :group 'epg :type 'string)