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: Michael Heerdegen
Subject: Re: master 0883e98 1/3: New functions for getting and setting image properties
Date: Mon, 22 Feb 2016 17:37:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> Looks ok.  Nitpick: according to the doc of `gv-define-simple-setter',
> to "preserve the semantics of setf" `image--set-property' should either
> return the VALUE.  Or use
>
>   (declare (gv-setter image--set-property t))
>                                           ^
>
> Hmm, this DTRT, though it's not documented in
>
>  (info "(elisp) Declare Form")
>
> Will file a bug report...


Done - see bug#22766: 25.0.91; (info "(elisp) Declare Form"): gv-setter:
mention FIX-RETURN arg

Stefan suggests to change `image--set-property' to return the VALUE
instead of using the undocumented optional second arg of the gv-setter
declare form.


Michael.



reply via email to

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