# HG changeset patch # User Thien-Thi Nguyen # Date 1147846251 0 # Node ID 308a4824e11b64963f39ec9c2e0172f3475d0688 # Parent bd74847f4dd5069eb19fb031cdf7e132f1aa244e (ewoc-data): Add docstring. (ewoc-nth): Doc fix. diff -r bd74847f4dd5 -r 308a4824e11b lisp/emacs-lisp/ewoc.el --- a/lisp/emacs-lisp/ewoc.el Tue May 16 20:41:26 2006 +0000 +++ b/lisp/emacs-lisp/ewoc.el Wed May 17 06:10:51 2006 +0000 @@ -280,7 +280,10 @@ ;; Return the ewoc new-ewoc)) -(defalias 'ewoc-data 'ewoc--node-data) +(defalias 'ewoc-data 'ewoc--node-data + "Extract the data encapsulated by NODE and return it. + +\(fn NODE)") (defun ewoc-enter-first (ewoc data) "Enter DATA first in EWOC. @@ -329,7 +332,7 @@ If N is negative, return the -(N+1)th last element. Thus, (ewoc-nth dll 0) returns the first node, and (ewoc-nth dll -1) returns the last node. -Use `ewoc--node-data' to extract the data from the node." +Use `ewoc-data' to extract the data from the node." ;; Skip the header (or footer, if n is negative). (setq n (if (< n 0) (1- n) (1+ n))) (ewoc--filter-hf-nodes ewoc