unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110798: Small doc updates for generalized variables
       [not found] <E1TVy11-0001nh-HQ@vcs.savannah.gnu.org>
@ 2012-11-07 13:58 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2012-11-07 13:58 UTC (permalink / raw)
  To: Glenn Morris; +Cc: emacs-devel

> -instead the assignment is turned into (prog1 VAL (SETTER ARGS... VAL))
> +instead the assignment is turned into something equivalent to
> +  \(let ((temp VAL))
> +    (SETTER ARGS... temp)
> +    temp)

Neither of the two forms is precisely correct (because both forms
evaluate VAL before ARGS).
The intent is not to be precise but to explain the kind of behavior
sought.  So the `prog1' form works just as well.


        Stefan



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-07 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1TVy11-0001nh-HQ@vcs.savannah.gnu.org>
2012-11-07 13:58 ` [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110798: Small doc updates for generalized variables Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).