help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: special forms


From: Karl Hegbloom
Subject: Re: special forms
Date: Wed, 18 Apr 2007 14:06:06 -0600

On Wed, 2007-04-18 at 21:40 +0200, A Soare wrote:
> I do not knot yet... What is the difference between SUBRP and XSUBR ?

The naming convention is that the macro or function ending in 'p' is a
predicate.  It's asking the yes or no question "is this lisp object a
'subr'?"  It looks in the Lisp object's type field, and checks to see if
it's type is 'subr'.  The macros that start with 'X' are accessors, the
mnemonic being that "X" sounds like "access".  It is accessing and
returning the location of the C routine that implements the Lisp subr.






reply via email to

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