aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-12-20 02:01:52 -0500
committerSean Allred <code@seanallred.com>2014-12-20 02:07:11 -0500
commitef1d321a157e300d29c48e461257897fca1c9aa4 (patch)
tree1c485a9652b6f38f12007d102f7ceb4bcaccac1d
parentf80f38e87c86070433a9a8c2a6fbf75b490b6875 (diff)
Expand `let-alist' upon `sx-assoc-let' expansion
-rw-r--r--sx.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/sx.el b/sx.el
index 6f4e7c7..97a6d61 100644
--- a/sx.el
+++ b/sx.el
@@ -313,10 +313,11 @@ with a `link' property)."
If ALIST doesn't have a `site' property, one is created using the
`link' property."
(declare (indent 1) (debug t))
+ (require 'let-alist)
`(progn
- (require 'let-alist)
(sx--ensure-site ,alist)
- (let-alist ,alist ,@body)))
+ ,(macroexpand
+ `(let-alist ,alist ,@body))))
(defcustom sx-init-hook nil
"Hook run when SX initializes.