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

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

associative list won't append variable contents


From: Dr. Shred
Subject: associative list won't append variable contents
Date: Tue, 31 Jan 2006 05:18:25 GMT
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

Hi,

(setq car-0 foo-0)
(setq cdr-0 foo-1)
(setq file-list (append '((car-0 . cdr-0)) file-list))

I want the contents of car-0 and cdr-0 to be the actual
car and cdr.

Lisp creates

((car-0 . cdr-0))

not

((foo-0 . foo-1))

Shouldn't this work?


reply via email to

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