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

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

Re: mutate list by appending a list (and similar for props)


From: Michael Heerdegen
Subject: Re: mutate list by appending a list (and similar for props)
Date: Thu, 18 Sep 2014 12:10:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Sam Halliday <sam.halliday@gmail.com> writes:

> > (setq list (append additional-list list))
>
> Thanks! But that's not ideal because it involves repeating the list
> symbol (which can often be quite long).

Try (cl-callf2 append additional-list list) instead, which expands
exactly into the above expression.

Michael.




reply via email to

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