[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: completing-read
From: |
Drew Adams |
Subject: |
RE: completing-read |
Date: |
Wed, 28 May 2014 19:17:19 -0700 (PDT) |
> > (completing-read
> > "Complete a foo: "
> > '(("foobar1" 1) ("barfoo" 2) ("foobaz" 3) ("foobar2" 4))
> > nil t "fo")
>
> Shouldn`t that, nowadays, be more like '(("foobar1" . 1) ...'?
("foobar" 2) is the same as ("foobar" . (2)), that is, a cons
whose cdr is the list (2). Nothing non-nowadays about such a
beast.
> So you cannot create a list like this (anymore)?
'("foobar" 2)
`("foobar" ,(length "ab"))
(list (symbol-name 'foobar) (1+ 1))
...