2 @c This is part of the GNU Guile Reference Manual.
3 @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004
4 @c Free Software Foundation, Inc.
5 @c See the file guile.texi for copying conditions.
8 @section Support for Translating Other Languages
10 [Describe translation framework.]
13 * Emacs Lisp Support:: Helper primitives for Emacs Lisp.
17 @node Emacs Lisp Support
18 @subsection Emacs Lisp Support
20 @deffn {Scheme Procedure} nil-car x
21 @deffnx {C Function} scm_nil_car (x)
22 Return the car of @var{x}, but convert it to LISP nil if it
23 is Scheme's end-of-list.
26 @deffn {Scheme Procedure} nil-cdr x
27 @deffnx {C Function} scm_nil_cdr (x)
28 Return the cdr of @var{x}, but convert it to LISP nil if it
29 is Scheme's end-of-list.
32 @deffn {Scheme Procedure} nil-cons x y
33 @deffnx {C Function} scm_nil_cons (x, y)
34 Create a new cons cell with @var{x} as the car and @var{y} as
35 the cdr, but convert @var{y} to Scheme's end-of-list if it is
39 @deffn {Scheme Procedure} nil-eq x y
40 Compare @var{x} and @var{y} and return Lisp's t if they are
41 @code{eq?}, return Lisp's nil otherwise.
44 @deffn {Scheme Procedure} null x
45 @deffnx {C Function} scm_null (x)
46 Return Lisp's @code{t} if @var{x} is nil in the LISP sense,
47 return Lisp's nil otherwise.
52 @c TeX-master: "guile.texi"