Changeset 4085 for trunk/lisp/emacs-lisp/ewoc.el
- Timestamp:
- 05/18/06 16:19:18 (3 years ago)
- Files:
-
- trunk/lisp/emacs-lisp/ewoc.el (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp/emacs-lisp/ewoc.el
r4079 r4085 281 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 288 (defun ewoc-enter-first (ewoc data) … … 330 333 Thus, (ewoc-nth dll 0) returns the first node, 331 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 336 ;; Skip the header (or footer, if n is negative). 334 337 (setq n (if (< n 0) (1- n) (1+ n))) … … 350 353 (ewoc--set-buffer-bind-dll-let* ewoc 351 354 ((footer (ewoc--footer ewoc)) 355 (pp (ewoc--pretty-printer ewoc)) 352 356 (node (ewoc--node-nth dll 1))) 353 357 (save-excursion 354 358 (while (not (eq node footer)) 355 359 (if (apply map-function (ewoc--node-data node) args) 356 (ewoc--refresh-node (ewoc--pretty-printer ewoc)node))360 (ewoc--refresh-node pp node)) 357 361 (setq node (ewoc--node-next dll node)))))) 358 362 … … 463 467 "Call EWOC's pretty-printer for each element in NODES. 464 468 Delete current text first, thus effecting a \"refresh\"." 465 (ewoc--set-buffer-bind-dll ewoc 469 (ewoc--set-buffer-bind-dll-let* ewoc 470 ((pp (ewoc--pretty-printer ewoc))) 466 471 (save-excursion 467 472 (dolist (node nodes) 468 (ewoc--refresh-node (ewoc--pretty-printer ewoc)node)))))473 (ewoc--refresh-node pp node))))) 469 474 470 475 (defun ewoc-goto-prev (ewoc arg)
