changeset 70685:308a4824e11b

(ewoc-data): Add docstring. (ewoc-nth): Doc fix.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Wed, 17 May 2006 06:10:51 +0000
parents bd74847f4dd5
children 2006f23b693c
files lisp/emacs-lisp/ewoc.el
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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