]> git.eshelyaron.com Git - emacs.git/commitdiff
Small epg-find-configuration improvement
authorGlenn Morris <rgm@gnu.org>
Sun, 12 Mar 2017 01:21:20 +0000 (17:21 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 12 Mar 2017 01:21:20 +0000 (17:21 -0800)
* lisp/epg-config.el (epg-find-configuration):
Handle epg-gpg-program customized but not saved.  (Bug#25947)

lisp/epg-config.el

index ea1ae6c439fc12aef7adb300e812e5a30537e19b..611f984106daa838fd8bdc57ce0c93d265e47e2f 100644 (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)