aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <bruce.connor.am@gmail.com>2014-11-14 23:58:05 +0000
committerArtur Malabarba <bruce.connor.am@gmail.com>2014-11-14 23:58:05 +0000
commit7d7c996aa723a9c99d8ceeecc7891a7049e69c98 (patch)
tree181d30ea493f932a42025ffc109ca9639aa8fc40
parent22cc1b1b959761cda2ff2048dbaeba99cc094930 (diff)
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