bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lars Ingebrigtsen
Subject: bug#23244: 24.4; let-alist does not handle vectors
Date: Sun, 28 Jul 2019 23:29:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Ola Nilsson <ola.nilsson@gmail.com> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]