🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #99026

Re: with-output-to-temp-buffer evaluates arg twice

#99026
From: Denys Duchier
Date: Sun, 25 Nov 1990 19:56
14 lines
1185 bytes
In article <9011241212.AA03776@jessica.stanford.edu> cwitty@JESSICA.STANFORD.EDU (Carl Witty) writes:
 >  The function "with-output-to-temp-buffer" evaluates its first argument
 >  twice.  That is,

Indeed, there seems to be a bug in the definition of this function in
file src/print.c.  The line that reads:

  val = Fprogn (args);

should probably be:

  val = Fprogn (Fcdr (args));

--Denys
Technical Details
Message-ID: <DUCHIER.90Nov25145614@albania.cs.yale.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.YALE.EDU!duchier
References: <9011241212.AA03776@jessica.stanford.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,14f6e300d8f6843f,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-11-25 11:56:14 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!CS.YALE.EDU!duchier
From: duchier@CS.YALE.EDU (Denys Duchier)
Newsgroups: gnu.emacs.bug
Subject: Re: with-output-to-temp-buffer evaluates arg twice
Message-ID: <DUCHIER.90Nov25145614@albania.cs.yale.edu>
Date: 25 Nov 90 19:56:14 GMT
References: <9011241212.AA03776@jessica.stanford.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: duchier-denys@cs.yale.edu
Distribution: gnu
Organization: Computer Science, Yale University, New Haven, CT 06520-2158
Lines: 14
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Sun Nov 25 20:56:14 1990