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: Emanuel Berg
Subject: Re: append, push, and add-to-list.
Date: Mon, 05 Jul 2021 08:32:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

> (equal '() nil)
> t
>
> So, I would rather write it like this:
>
> (defvar lst nil)

But with '() you see that it is (an empty) list:

  (defvar lst)
  (setq lst '())

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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