From cce29d942dc62f39664e890fbf210a6568df4594 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 11 Mar 2017 17:21:20 -0800 Subject: [PATCH] Small epg-find-configuration improvement * lisp/epg-config.el (epg-find-configuration): Handle epg-gpg-program customized but not saved. (Bug#25947) --- lisp/epg-config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/epg-config.el b/lisp/epg-config.el index ea1ae6c439f..611f984106d 100644 --- a/lisp/epg-config.el +++ b/lisp/epg-config.el @@ -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) -- 2.39.5