branch: elpa/age
commit 05ad63306bdac3a58f3a3b23adfd94c8d573f9f2
Merge: b14fb8c4db8 5028f9eea05
Author: Bas Alberts <[email protected]>
Commit: GitHub <[email protected]>

    Merge pull request #17 from anticomputer/fix_epg_use_package
    
    Fix custom variable check for use-package :custom blocks.
---
 age.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/age.el b/age.el
index b834244ad1f..91af98f8863 100644
--- a/age.el
+++ b/age.el
@@ -169,8 +169,11 @@ version requirement is met."
         (or (and (not no-cache) (alist-get protocol age--configurations))
             ;; If the executable value is already set with M-x
             ;; customize, use it without checking.
-            (if (and symbol (or (get symbol 'saved-value)
-                                (get symbol 'customized-value)))
+            (if (and symbol (or
+                             ;; use-package :custom blocks end up as theme 
values
+                             (get symbol 'theme-value)
+                             (get symbol 'saved-value)
+                             (get symbol 'customized-value)))
                 (let ((configuration
                        (funcall constructor (symbol-value symbol))))
                   (push (cons protocol configuration) age--configurations)

Reply via email to