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

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

Re: append, push, and add-to-list.


From: Drew Adams
Subject: Re: append, push, and add-to-list.
Date: Mon, 5 Jul 2021 14:37:15 +0000

> But with '() you see that it is (an empty) list:
> 
>   (defvar lst)
>   (setq lst '())

Yes, for human reading, () suggests that the
value might be used as a list, and nil suggests
that it might not be (e.g., it might be used as
a truth value or otherwise).

But there is no reason to quote ().  Like t,
() is evaluates to itself.

<<attachment: winmail.dat>>


reply via email to

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