diff options
| author | Thien-Thi Nguyen | 2006-05-27 18:13:15 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2006-05-27 18:13:15 +0000 |
| commit | 0741626e3ff1f0678f29787b7a8a6ee7b2c11c78 (patch) | |
| tree | 962347ba43dcba48359236bbdf3fb40a6042ed30 | |
| parent | 096432af4b8c3efcc326a43df569a11a62875709 (diff) | |
| download | emacs-0741626e3ff1f0678f29787b7a8a6ee7b2c11c78.tar.gz emacs-0741626e3ff1f0678f29787b7a8a6ee7b2c11c78.zip | |
Commentary and whitespace munging; nfc.
| -rw-r--r-- | lisp/emacs-lisp/ewoc.el | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index 8a448f1b47f..c35d155b343 100644 --- a/lisp/emacs-lisp/ewoc.el +++ b/lisp/emacs-lisp/ewoc.el | |||
| @@ -88,36 +88,7 @@ | |||
| 88 | ;; limit! It is even possible to have another ewoc as an | 88 | ;; limit! It is even possible to have another ewoc as an |
| 89 | ;; element. In that way some kind of tree hierarchy can be created. | 89 | ;; element. In that way some kind of tree hierarchy can be created. |
| 90 | ;; | 90 | ;; |
| 91 | ;; Full documentation will, God willing, soon be available in a | 91 | ;; The Emacs Lisp Reference Manual documents ewoc.el's "public interface". |
| 92 | ;; Texinfo manual. | ||
| 93 | |||
| 94 | ;; In the mean time `grep '^(.*ewoc-[^-]' emacs-lisp/ewoc.el' can help | ||
| 95 | ;; you find all the exported functions: | ||
| 96 | ;; | ||
| 97 | ;; (defun ewoc-create (pretty-printer &optional header footer nosep) | ||
| 98 | ;; (defalias 'ewoc-data 'ewoc--node-data) | ||
| 99 | ;; (defun ewoc-set-data (node data) | ||
| 100 | ;; (defun ewoc-location (node) | ||
| 101 | ;; (defun ewoc-enter-first (ewoc data) | ||
| 102 | ;; (defun ewoc-enter-last (ewoc data) | ||
| 103 | ;; (defun ewoc-enter-after (ewoc node data) | ||
| 104 | ;; (defun ewoc-enter-before (ewoc node data) | ||
| 105 | ;; (defun ewoc-next (ewoc node) | ||
| 106 | ;; (defun ewoc-prev (ewoc node) | ||
| 107 | ;; (defun ewoc-nth (ewoc n) | ||
| 108 | ;; (defun ewoc-map (map-function ewoc &rest args) | ||
| 109 | ;; (defun ewoc-filter (ewoc predicate &rest args) | ||
| 110 | ;; (defun ewoc-delete (ewoc &rest nodes) | ||
| 111 | ;; (defun ewoc-locate (ewoc &optional pos guess) | ||
| 112 | ;; (defun ewoc-invalidate (ewoc &rest nodes) | ||
| 113 | ;; (defun ewoc-goto-prev (ewoc arg) | ||
| 114 | ;; (defun ewoc-goto-next (ewoc arg) | ||
| 115 | ;; (defun ewoc-goto-node (ewoc node) | ||
| 116 | ;; (defun ewoc-refresh (ewoc) | ||
| 117 | ;; (defun ewoc-collect (ewoc predicate &rest args) | ||
| 118 | ;; (defun ewoc-buffer (ewoc) | ||
| 119 | ;; (defun ewoc-get-hf (ewoc) | ||
| 120 | ;; (defun ewoc-set-hf (ewoc header footer) | ||
| 121 | 92 | ||
| 122 | ;; Coding conventions | 93 | ;; Coding conventions |
| 123 | ;; ================== | 94 | ;; ================== |
| @@ -125,8 +96,6 @@ | |||
| 125 | ;; All functions of course start with `ewoc'. Functions and macros | 96 | ;; All functions of course start with `ewoc'. Functions and macros |
| 126 | ;; starting with the prefix `ewoc--' are meant for internal use, | 97 | ;; starting with the prefix `ewoc--' are meant for internal use, |
| 127 | ;; while those starting with `ewoc-' are exported for public use. | 98 | ;; while those starting with `ewoc-' are exported for public use. |
| 128 | ;; There are currently no global or buffer-local variables used. | ||
| 129 | |||
| 130 | 99 | ||
| 131 | ;;; Code: | 100 | ;;; Code: |
| 132 | 101 | ||
| @@ -328,7 +297,6 @@ Return the new node." | |||
| 328 | (ewoc--set-buffer-bind-dll ewoc | 297 | (ewoc--set-buffer-bind-dll ewoc |
| 329 | (ewoc-enter-before ewoc (ewoc--node-nth -1) data))) | 298 | (ewoc-enter-before ewoc (ewoc--node-nth -1) data))) |
| 330 | 299 | ||
| 331 | |||
| 332 | (defun ewoc-enter-after (ewoc node data) | 300 | (defun ewoc-enter-after (ewoc node data) |
| 333 | "Enter a new element DATA after NODE in EWOC. | 301 | "Enter a new element DATA after NODE in EWOC. |
| 334 | Return the new node." | 302 | Return the new node." |
| @@ -357,7 +325,6 @@ Return nil if NODE is nil or the first element." | |||
| 357 | ewoc (let ((ewoc--current-dll (ewoc--dll ewoc))) | 325 | ewoc (let ((ewoc--current-dll (ewoc--dll ewoc))) |
| 358 | (ewoc--node-prev node))))) | 326 | (ewoc--node-prev node))))) |
| 359 | 327 | ||
| 360 | |||
| 361 | (defun ewoc-nth (ewoc n) | 328 | (defun ewoc-nth (ewoc n) |
| 362 | "Return the Nth node. | 329 | "Return the Nth node. |
| 363 | N counts from zero. Return nil if there is less than N elements. | 330 | N counts from zero. Return nil if there is less than N elements. |