[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: alist-get in Emacs 24?
From: |
Michael Heerdegen |
Subject: |
Re: alist-get in Emacs 24? |
Date: |
Thu, 08 Oct 2015 18:14:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> Yes, with such (destructive) functions, if you have a variable
> pointing to the list (empty or not), you do need to re-set it
> to the result returned by the function. But that's all, AFAIK.
Our views just differ in whether you think of a `setter' as already
including the above (undoubtedly necessary) "res-set" operation or not.
I understood "setter" as the term is used for (generalized) variables
like in gv.el.
What I meant is that just passing by value is not sufficient, you have
to set a symbol's value somewhere. With regard to that, no, this is not
different from `delete'.
Michael.
- Re: alist-get in Emacs 24?, (continued)