emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Unicode Lisp reader escapes


From: Andreas Schwab
Subject: Re: [PATCH] Unicode Lisp reader escapes
Date: Wed, 03 May 2006 20:51:06 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Kevin Rodgers <address@hidden> writes:

> readcharfun is declared as a Lisp_Object in read1, so it should be
> possible to check it's type and only GCPRO when necessary.

I don't see any need to GCPRO readcharfun.  When called from Lisp the
arguments are already protected by being part of the call frame, and all
uses from C protect the object by other means (eg, by being put on
eval-buffer-list).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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