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: Ola Nilsson
Subject: bug#23244: 24.4; let-alist does not handle vectors
Date: Mon, 29 Jul 2019 13:25:54 +0200

Is it fixed on ELPA too?
/Ola 

On Sun, Jul 28, 2019, 23:29 Lars Ingebrigtsen <larsi@gnus.org> wrote:
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]