/[emacs]/emacs/lisp/emacs-lisp/ewoc.el
ViewVC logotype

Diff of /emacs/lisp/emacs-lisp/ewoc.el

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

revision 1.8 by sds, Tue Nov 27 15:52:52 2001 UTC revision 1.9 by pj, Thu Dec 20 18:52:58 2001 UTC
# Line 375  Returns nil if NODE is nil or the first Line 375  Returns nil if NODE is nil or the first
375    
376  (defun ewoc-nth (ewoc n)  (defun ewoc-nth (ewoc n)
377    "Return the Nth node.    "Return the Nth node.
378  N counts from zero. Nil is returned if there is less than N elements.  N counts from zero.  Return nil if there is less than N elements.
379  If N is negative, return the -(N+1)th last element.  If N is negative, return the -(N+1)th last element.
380  Thus, (ewoc-nth dll 0) returns the first node,  Thus, (ewoc-nth dll 0) returns the first node,
381  and (ewoc-nth dll -1) returns the last node.  and (ewoc-nth dll -1) returns the last node.

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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