emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: missing GC protection in Fbyte_code


From: Stefan Monnier
Subject: Re: missing GC protection in Fbyte_code
Date: Wed, 22 Sep 2004 13:52:07 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

>> No, because `Fsignal(Qquit)' can return (and can GC, of course) if
>> debug-on-quit is set.

> Sorry, I must be mis-remembering all this business, or something has
> changed significantly since I worked on it.

Fsignal can never return *except* when the signal is `quit'.

A some point (several years ago, apparently before I got involved in Emacs
hacking), there was an intention to make all signals "restartable", but
it was recently decided that this intention will not materialize.

So there's still some code that calls wrong_type_argument (and Fsignal) and
tries to do something useful with its return value, but such code is on its
way out.


        Stefan




reply via email to

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