1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-31 20:02:42 +00:00

Small epg-find-configuration improvement

* lisp/epg-config.el (epg-find-configuration):
Handle epg-gpg-program customized but not saved.  (Bug#25947)
This commit is contained in:
Glenn Morris 2017-03-11 17:21:20 -08:00
parent 46fcaf3361
commit cce29d942d

View File

@ -129,7 +129,8 @@ version requirement is met."
(or (and (not no-cache) (alist-get protocol epg--configurations))
;; If the executable value is already set with M-x
;; customize, use it without checking.
(if (and symbol (get symbol 'saved-value))
(if (and symbol (or (get symbol 'saved-value)
(get symbol 'customized-value)))
(let ((configuration
(funcall constructor (symbol-value symbol))))
(push (cons protocol configuration) epg--configurations)