diff options
| author | Stefan Monnier | 2014-09-27 12:26:54 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2014-09-27 12:26:54 -0400 |
| commit | 5551acd251f6ca0adea570a3b3781788fdae6a2a (patch) | |
| tree | 137e9238857c82b05bf2f7ba0743c077c68e3857 | |
| parent | 19e0f0af6d27179baf76b5ebc67588dfc4b70588 (diff) | |
| download | emacs-5551acd251f6ca0adea570a3b3781788fdae6a2a.tar.gz emacs-5551acd251f6ca0adea570a3b3781788fdae6a2a.zip | |
* lisp/epg-config.el (epg-gpg-program): Use the plain program names rather
than their absolute file name.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/epg-config.el | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f5a188b2417..62f3138c9d1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * epg-config.el (epg-gpg-program): Use the plain program names rather | ||
| 4 | than their absolute file name. | ||
| 5 | |||
| 3 | * subr.el (track-mouse): New macro. | 6 | * subr.el (track-mouse): New macro. |
| 4 | * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): | 7 | * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): |
| 5 | Remove track-mouse case. | 8 | Remove track-mouse case. |
diff --git a/lisp/epg-config.el b/lisp/epg-config.el index 10b37041443..16ed6e1f5c9 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el | |||
| @@ -39,9 +39,9 @@ | |||
| 39 | :group 'data | 39 | :group 'data |
| 40 | :group 'external) | 40 | :group 'external) |
| 41 | 41 | ||
| 42 | (defcustom epg-gpg-program (or (executable-find "gpg") | 42 | (defcustom epg-gpg-program (cond ((executable-find "gpg") "gpg") |
| 43 | (executable-find "gpg2") | 43 | ((executable-find "gpg2") "gpg2") |
| 44 | "gpg") | 44 | (t "gpg")) |
| 45 | "The `gpg' executable." | 45 | "The `gpg' executable." |
| 46 | :group 'epg | 46 | :group 'epg |
| 47 | :type 'string) | 47 | :type 'string) |