emacs-devel
[Top][All Lists]
Advanced

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

Re: master 0883e98 1/3: New functions for getting and setting image prop


From: Lars Ingebrigtsen
Subject: Re: master 0883e98 1/3: New functions for getting and setting image properties
Date: Mon, 22 Feb 2016 12:40:11 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> After reading the sources, AFAIK it's sufficient to load it when
> compiling.
>
> You can use the `gv-setter' declare spec in your defun.  Then the byte
> compiler will autoload gv and put something like
>
>   (put 'function 'gv-expander [byte code])
>
> in the compiled file.  That doesn't depend on gv when loading.
>
> OTOH when compiling, `setf' forms are expanded to something that doesn't
> depend on gv either.

Great!  I'll rewrite those two getter/setter functions to be more
setf-ey.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



reply via email to

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