diff options
author | Thien-Thi Nguyen <[email protected]> | 2006-05-17 06:12:44 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <[email protected]> | 2006-05-17 06:12:44 +0000 |
commit | 8d1bec8de1c570475c1332d1305bea21ffda44f1 (patch) | |
tree | 6ed313d729c1af25c8f0651f22646b54dfdfa2d3 /lisp/emacs-lisp | |
parent | a47ba6585aae19174cb32f770ba4049f627b03a7 (diff) |
(ewoc-data): Add docstring.
(ewoc-nth): Doc fix.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/ewoc.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index d64991e541..fa85ce21fb 100644 --- a/lisp/emacs-lisp/ewoc.el +++ b/lisp/emacs-lisp/ewoc.el @@ -280,7 +280,10 @@ be inserted at the bottom of the ewoc." ;; 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 @@ N counts from zero. Return nil if there is less than N elements. 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 |