|
From: | Lars Ingebrigtsen |
Subject: | Re: Lispref add-to-list - doc is unnecessary convoluted |
Date: | Fri, 04 Dec 2020 09:35:47 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Arthur Miller <arthur.miller@live.com> writes: > But can we express it somewhat simpler? LIST-VALUE? Is it more > descriptive than SYMBOL or LIST-VAR. But it is a symbol. The description of the function is awkward because it's a really weird function. Comparing it with a more traditional function illustrates the difference: (setq foo '(3 2)) (add-to-list 'foo 1) (cons 1 foo) `add-to-list' takes a symbol as a parameter. `cons' takes a list as a parameter. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |