emacs-devel
[Top][All Lists]
Advanced

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

Re: bootstrap problem with union Lisp_Object


From: Benjamin Riefenstahl
Subject: Re: bootstrap problem with union Lisp_Object
Date: Tue, 06 Dec 2005 22:05:12 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3.50 (gnu/linux)

Hi Ken,

Ken Raeburn writes:
> I'm unsure about this bit in w32select.c:
>         ok = !NILP(render (make_number (current_clipboard_type)));
> Someone familiar with the Windows code should please decide whether
> calling render twice is a bad thing, and if so, assign the value to
> a temporary before calling NILP.

Calling render twice shouldn't cause bugs, but the problem is that
it's a pretty expensive call.

I can make the changes, but I really wonder if a basic and often-used
functionality like NILP should be so dangerous.

benny





reply via email to

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