+2014-12-22 Artur Malabarba <bruce.connor.am@gmail.com>
+
+ * let-alist.el (let-alist): Use `make-symbol' instead of `gensym'.
+
2014-12-20 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-histfile-override): Add :version.
;; Author: Artur Malabarba <bruce.connor.am@gmail.com>
;; Maintainer: Artur Malabarba <bruce.connor.am@gmail.com>
-;; Version: 1.0.2
+;; Version: 1.0.3
;; Keywords: extensions lisp
;; Prefix: let-alist
;; Separator: -
inside the original alist by using dots inside the symbol, as
displayed in the example above."
(declare (indent 1) (debug t))
- (let ((var (gensym "alist")))
+ (let ((var (make-symbol "alist")))
`(let ((,var ,alist))
(let ,(mapcar (lambda (x) `(,(car x) ,(let-alist--access-sexp (car x) var)))
(delete-dups (let-alist--deep-dot-search body)))
(.test-two (cdr (assq 'test-two symbol))))
(list .test-one .test-two
.test-two .test-two)))
- (cl-letf (((symbol-function #'gensym) (lambda (x) 'symbol)))
+ (cl-letf (((symbol-function #'make-symbol) (lambda (x) 'symbol)))
(macroexpand
'(let-alist data (list .test-one .test-two
.test-two .test-two))))))