* lisp/epg-config.el (epg-gpg-program): Don't use the absolute names by default.

This commit is contained in:
Stefan Monnier 2014-10-20 17:51:44 -04:00
parent 290d4b570f
commit 1c9c88b402
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,7 @@
2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
* epg-config.el (epg-gpg-program): Don't use the absolute names by default.
* emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
case (bug#18767).

View file

@ -39,9 +39,9 @@
: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)