/[emacs]/emacs/lispref/lists.texi
ViewVC logotype

Diff of /emacs/lispref/lists.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.32 by eliz, Sat Sep 8 17:43:49 2001 UTC revision 1.33 by lektu, Tue Feb 4 14:47:54 2003 UTC
# Line 1  Line 1 
1  @c -*-texinfo-*-  @c -*-texinfo-*-
2  @c This is part of the GNU Emacs Lisp Reference Manual.  @c This is part of the GNU Emacs Lisp Reference Manual.
3  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999  @c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999
4  @c   Free Software Foundation, Inc.  @c   Free Software Foundation, Inc.
5  @c See the file elisp.texi for copying conditions.  @c See the file elisp.texi for copying conditions.
6  @setfilename ../info/lists  @setfilename ../info/lists
7  @node Lists, Sequences Arrays Vectors, Strings and Characters, Top  @node Lists, Sequences Arrays Vectors, Strings and Characters, Top
# Line 498  This macro provides an alternative way t Line 498  This macro provides an alternative way t
498  It is new in Emacs 21.  It is new in Emacs 21.
499    
500  @example  @example
501  (setq l '(a b))  (setq l '(a b))
502       @result{} (a b)       @result{} (a b)
503  (push 'c l)  (push 'c l)
504       @result{} (c a b)       @result{} (c a b)
# Line 738  destructively.  See @ref{Sets And Lists} Line 738  destructively.  See @ref{Sets And Lists}
738  @cindex destructive list operations  @cindex destructive list operations
739    
740    You can modify the @sc{car} and @sc{cdr} contents of a cons cell with the    You can modify the @sc{car} and @sc{cdr} contents of a cons cell with the
741  primitives @code{setcar} and @code{setcdr}.  We call these ``destructive''  primitives @code{setcar} and @code{setcdr}.  We call these ``destructive''
742  operations because they change existing list structure.  operations because they change existing list structure.
743    
744  @cindex CL note---@code{rplaca} vrs @code{setcar}  @cindex CL note---@code{rplaca} vrs @code{setcar}

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26