diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/epg-config.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 384633b1ad8..dcf17693216 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-24 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg" | ||
| 4 | executable is not available on the system (Bug#7268). | ||
| 5 | |||
| 1 | 2010-10-24 Glenn Morris <rgm@gnu.org> | 6 | 2010-10-24 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * select.el (selection-coding-system, next-selection-coding-system): | 8 | * select.el (selection-coding-system, next-selection-coding-system): |
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 37c5d01fb1d..a439fa0480e 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el | |||
| @@ -37,7 +37,9 @@ | |||
| 37 | :version "23.1" | 37 | :version "23.1" |
| 38 | :group 'data) | 38 | :group 'data) |
| 39 | 39 | ||
| 40 | (defcustom epg-gpg-program "gpg" | 40 | (defcustom epg-gpg-program (or (executable-find "gpg") |
| 41 | (executable-find "gpg2") | ||
| 42 | "gpg") | ||
| 41 | "The `gpg' executable." | 43 | "The `gpg' executable." |
| 42 | :group 'epg | 44 | :group 'epg |
| 43 | :type 'string) | 45 | :type 'string) |