/[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.49 by lute, Mon Feb 14 11:19:27 2005 UTC revision 1.50 by rms, Sun Mar 6 18:19:01 2005 UTC
# Line 248  This is in contrast to @code{cdr}, which Line 248  This is in contrast to @code{cdr}, which
248  @tindex pop  @tindex pop
249  @defmac pop listname  @defmac pop listname
250  This macro is a way of examining the @sc{car} of a list,  This macro is a way of examining the @sc{car} of a list,
251  and taking it off the list, all at once.  It is new in Emacs 21.  and taking it off the list, all at once.
252    
253  It operates on the list which is stored in the symbol @var{listname}.  It operates on the list which is stored in the symbol @var{listname}.
254  It removes this element from the list by setting @var{listname}  It removes this element from the list by setting @var{listname}
# Line 436  any symbol can serve both purposes. Line 436  any symbol can serve both purposes.
436  @defmac push newelt listname  @defmac push newelt listname
437  This macro provides an alternative way to write  This macro provides an alternative way to write
438  @code{(setq @var{listname} (cons @var{newelt} @var{listname}))}.  @code{(setq @var{listname} (cons @var{newelt} @var{listname}))}.
 It is new in Emacs 21.  
439    
440  @example  @example
441  (setq l '(a b))  (setq l '(a b))

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

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