aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Allred <code@seanallred.com>2014-11-14 22:02:39 -0500
committerSean Allred <code@seanallred.com>2014-11-14 22:02:39 -0500
commit3cb483821a9c7e852324af224b93dca4bd855b03 (patch)
tree181d30ea493f932a42025ffc109ca9639aa8fc40
parent22cc1b1b959761cda2ff2048dbaeba99cc094930 (diff)
parent7d7c996aa723a9c99d8ceeecc7891a7049e69c98 (diff)
Merge pull request #54 from vermiculus/fix-assoc-let
Quick-fix assoc-let
-rw-r--r--sx.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/sx.el b/sx.el
index 7ed56d3..796a5d6 100644
--- a/sx.el
+++ b/sx.el
@@ -106,7 +106,7 @@ is equivalent to
(debug t))
(let ((symbol-alist (sx--deep-dot-search body)))
`(let ,(mapcar (lambda (x) `(,(car x) (cdr (assoc ',(cdr x) ,alist))))
- symbol-alist)
+ (delete-dups symbol-alist))
,@body)))
(defcustom sx-init-hook nil