diff options
| author | Thien-Thi Nguyen | 2006-05-17 06:12:44 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2006-05-17 06:12:44 +0000 |
| commit | 8d1bec8de1c570475c1332d1305bea21ffda44f1 (patch) | |
| tree | 6ed313d729c1af25c8f0651f22646b54dfdfa2d3 /lisp | |
| parent | a47ba6585aae19174cb32f770ba4049f627b03a7 (diff) | |
| download | emacs-8d1bec8de1c570475c1332d1305bea21ffda44f1.tar.gz emacs-8d1bec8de1c570475c1332d1305bea21ffda44f1.zip | |
(ewoc-data): Add docstring.
(ewoc-nth): Doc fix.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ewoc.el | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 57158e5e9b9..85e397cbe29 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,10 +1,15 @@ | |||
| 1 | 2006-05-17 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/ewoc.el (ewoc-data): Add docstring. | ||
| 4 | (ewoc-nth): Doc fix. | ||
| 5 | |||
| 1 | 2006-05-16 Eli Zaretskii <eliz@gnu.org> | 6 | 2006-05-16 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * international/mule.el (auto-coding-alist): Add .lha to files | 8 | * international/mule.el (auto-coding-alist): Add .lha to files |
| 4 | read with no-conversion. | 9 | read with no-conversion. |
| 5 | 10 | ||
| 6 | * files.el (auto-mode-alist): Add .lha files to archive file | 11 | * files.el (auto-mode-alist): Add .lha files to archive file |
| 7 | extensions. | 12 | extensions. |
| 8 | 13 | ||
| 9 | * arc-mode.el (archive-arc-summarize, archive-lzh-summarize): | 14 | * arc-mode.el (archive-arc-summarize, archive-lzh-summarize): |
| 10 | Convert csize to integer when computing offsets within the | 15 | Convert csize to integer when computing offsets within the |
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index d64991e5415..fa85ce21fb0 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." | |||
| 280 | ;; Return the ewoc | 280 | ;; Return the ewoc |
| 281 | new-ewoc)) | 281 | new-ewoc)) |
| 282 | 282 | ||
| 283 | (defalias 'ewoc-data 'ewoc--node-data) | 283 | (defalias 'ewoc-data 'ewoc--node-data |
| 284 | "Extract the data encapsulated by NODE and return it. | ||
| 285 | |||
| 286 | \(fn NODE)") | ||
| 284 | 287 | ||
| 285 | (defun ewoc-enter-first (ewoc data) | 288 | (defun ewoc-enter-first (ewoc data) |
| 286 | "Enter DATA first in EWOC. | 289 | "Enter DATA first in EWOC. |
| @@ -329,7 +332,7 @@ N counts from zero. Return nil if there is less than N elements. | |||
| 329 | If N is negative, return the -(N+1)th last element. | 332 | If N is negative, return the -(N+1)th last element. |
| 330 | Thus, (ewoc-nth dll 0) returns the first node, | 333 | Thus, (ewoc-nth dll 0) returns the first node, |
| 331 | and (ewoc-nth dll -1) returns the last node. | 334 | and (ewoc-nth dll -1) returns the last node. |
| 332 | Use `ewoc--node-data' to extract the data from the node." | 335 | Use `ewoc-data' to extract the data from the node." |
| 333 | ;; Skip the header (or footer, if n is negative). | 336 | ;; Skip the header (or footer, if n is negative). |
| 334 | (setq n (if (< n 0) (1- n) (1+ n))) | 337 | (setq n (if (< n 0) (1- n) (1+ n))) |
| 335 | (ewoc--filter-hf-nodes ewoc | 338 | (ewoc--filter-hf-nodes ewoc |