emacs-devel
[Top][All Lists]
Advanced

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

Re: Help with recursive destructive function


From: Michael Heerdegen
Subject: Re: Help with recursive destructive function
Date: Sun, 29 Jul 2018 01:46:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Eric Abrahamsen <address@hidden> writes:

> After weeks of avoiding this, I'm nearly there. This version does
> everything I need it to, EXCEPT I have somehow lost the ability to
> handle single-atom data, which was the whole point of passing in a
> gv-ref. I don't understand why [...]

Did this really ever work like this?  Because, you said you want to
alter the given data.  If you pass the function a string, and you really
want to alter that string, you can't just call `upcase' because that
returns a new string.  You would have to write a function that alters
the string itself.  You could also return a new string, but then there
is no need for `gv-ref'.


Michael.



reply via email to

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