]> code.delx.au - gnu-emacs/blobdiff - lisp/epg-config.el
Quiet, woman. (Sorry...).
[gnu-emacs] / lisp / epg-config.el
index 29ac8b09c3a4aca7993d89b77955ab33e5ea962a..a439fa0480e4b9e8b06b3290655ce20d9597d23d 100644 (file)
@@ -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 Free Software Foundation, Inc.
 
 ;; Author: Daiki Ueno <ueno@unixuser.org>
 ;; Keywords: PGP, GnuPG
+;; Package: epg
 
 ;; This file is part of GNU Emacs.
 
   "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)