changeset 68444:3eb2a97faeda

(Fcar, Fcdr): Add links to Elisp manual to the docstrings.
author Luc Teirlinck <teirllm@auburn.edu>
date Sat, 28 Jan 2006 23:16:35 +0000
parents 109e1f35974e
children 418c65a96a06
files src/data.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/data.c	Sat Jan 28 23:15:09 2006 +0000
+++ b/src/data.c	Sat Jan 28 23:16:35 2006 +0000
@@ -521,7 +521,10 @@
 
 DEFUN ("car", Fcar, Scar, 1, 1, 0,
        doc: /* Return the car of LIST.  If arg is nil, return nil.
-Error if arg is not nil and not a cons cell.  See also `car-safe'.  */)
+Error if arg is not nil and not a cons cell.  See also `car-safe'.
+
+See Info node `(elisp)Cons Cells' for a discussion of basic Lisp
+concepts such as car, cdr, cons cell and list.  */)
      (list)
      register Lisp_Object list;
 {
@@ -549,7 +552,10 @@
 
 DEFUN ("cdr", Fcdr, Scdr, 1, 1, 0,
        doc: /* Return the cdr of LIST.  If arg is nil, return nil.
-Error if arg is not nil and not a cons cell.  See also `cdr-safe'.  */)
+Error if arg is not nil and not a cons cell.  See also `cdr-safe'.
+
+See Info node `(elisp)Cons Cells' for a discussion of basic Lisp
+concepts such as cdr, car, cons cell and list.  */)
      (list)
      register Lisp_Object list;
 {