Subject: bug#23244: 24.4; let-alist does not handle vectors

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 28 Jul 2019 23:29:51 +0200

Ola Nilsson <[email-masked]> writes:

> This construct does not work (gives error "(void-variable \.a)"):
>
> (let-alist '((a . 1) (b . 2))
>   `[,(+ .a .b)])
>
> while this construct returns the expected [3]
>
> (let-alist '((a . 1) (b . 2))
>   (+ .a .b)
>   `[,(+ .a .b)])
>
> The problem seems to be that let-alist--deep-dot-search skips vectors.

(I'm going through old Emacs bug reports that haven't received any
response.)

Yup.  I think this is now fixed on the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no