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

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

Re: beginnerquestion (nconc)


From: Stefan Huchler
Subject: Re: beginnerquestion (nconc)
Date: Tue, 21 Mar 2017 17:47:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> (setq sequence (nreverse sequence))
>
> In many cases, the (nreverse sequence) is actually returned or used in
> so me function call, so there's no need to `setq' it.
>
>
>         Stefan


I need the value for a tabulated list, so I dont see a way to not use
setq here?


(setq tabulated-list-entries (nreverse tabulated-list-entries))

greetings

Stefan




reply via email to

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