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.
9 @section Support for Translating Other Languages
11 [Describe translation framework.]
14 * Emacs Lisp Support:: Helper primitives for Emacs Lisp.
18 @node Emacs Lisp Support
19 @subsection Emacs Lisp Support
21 @deffn {Scheme Procedure} nil-car x
22 @deffnx {C Function} scm_nil_car (x)
23 Return the car of @var{x}, but convert it to LISP nil if it
24 is Scheme's end-of-list.
27 @deffn {Scheme Procedure} nil-cdr x
28 @deffnx {C Function} scm_nil_cdr (x)
29 Return the cdr of @var{x}, but convert it to LISP nil if it
30 is Scheme's end-of-list.
33 @deffn {Scheme Procedure} nil-cons x y
34 @deffnx {C Function} scm_nil_cons (x, y)
35 Create a new cons cell with @var{x} as the car and @var{y} as
36 the cdr, but convert @var{y} to Scheme's end-of-list if it is
40 @deffn {Scheme Procedure} nil-eq x y
41 Compare @var{x} and @var{y} and return Lisp's t if they are
42 @code{eq?}, return Lisp's nil otherwise.
45 @deffn {Scheme Procedure} null x
46 @deffnx {C Function} scm_null (x)
47 Return Lisp's @code{t} if @var{x} is nil in the LISP sense,
48 return Lisp's nil otherwise.
53 @c TeX-master: "guile.texi"