[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master cce29d9 1/2: Small epg-find-configuration improveme
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master cce29d9 1/2: Small epg-find-configuration improvement |
Date: |
Sat, 11 Mar 2017 20:23:12 -0500 (EST) |
branch: master
commit cce29d942dc62f39664e890fbf210a6568df4594
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
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 ea1ae6c..611f984 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)