diff options
| author | Thien-Thi Nguyen | 2006-05-22 05:41:48 +0000 |
|---|---|---|
| committer | Thien-Thi Nguyen | 2006-05-22 05:41:48 +0000 |
| commit | bb8d35a25e9a993975e0af55bca4baba82bd1b61 (patch) | |
| tree | d2c4ca9d1d99c5ab97d68408d2ab2748995eb414 | |
| parent | ccd97b5616246587c7072d8c23309b39419795a4 (diff) | |
| download | emacs-bb8d35a25e9a993975e0af55bca4baba82bd1b61.tar.gz emacs-bb8d35a25e9a993975e0af55bca4baba82bd1b61.zip | |
(ewoc-set-data): New func.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ewoc.el | 5 |
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 37e7617f6ef..c1a502308fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,15 +1,19 @@ | |||
| 1 | 2006-05-22 Thien-Thi Nguyen <ttn@gnu.org> | ||
| 2 | |||
| 3 | * emacs-lisp/ewoc.el (ewoc-set-data): New function. | ||
| 4 | |||
| 1 | 2006-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | 5 | 2006-05-21 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> |
| 2 | 6 | ||
| 3 | * textmodes/bibtex.el (bibtex-maintain-sorted-entries): Mark as | 7 | * textmodes/bibtex.el (bibtex-maintain-sorted-entries): Mark as |
| 4 | safe. | 8 | safe. |
| 5 | 9 | ||
| 6 | * progmodes/make-mode.el (makefile-special-targets-list) | 10 | * progmodes/make-mode.el (makefile-special-targets-list) |
| 7 | (makefile-macro-table, makefile-target-table): Mark as risky. | 11 | (makefile-macro-table, makefile-target-table): Mark as risky. |
| 8 | (makefile-query-one-target-method): Make this the alias for the | 12 | (makefile-query-one-target-method): Make this the alias for the |
| 9 | following variable. | 13 | following variable. |
| 10 | (makefile-query-one-target-method-function): Make this the real | 14 | (makefile-query-one-target-method-function): Make this the real |
| 11 | name. | 15 | name. |
| 12 | 16 | ||
| 13 | * textmodes/artist.el (artist-text-renderer): Make this the alias | 17 | * textmodes/artist.el (artist-text-renderer): Make this the alias |
| 14 | for the following variable. | 18 | for the following variable. |
| 15 | (artist-text-renderer-function): Make this the real name. | 19 | (artist-text-renderer-function): Make this the real name. |
diff --git a/lisp/emacs-lisp/ewoc.el b/lisp/emacs-lisp/ewoc.el index 623f349d412..66bb0842da6 100644 --- a/lisp/emacs-lisp/ewoc.el +++ b/lisp/emacs-lisp/ewoc.el | |||
| @@ -96,6 +96,7 @@ | |||
| 96 | ;; | 96 | ;; |
| 97 | ;; (defun ewoc-create (pretty-printer &optional header footer) | 97 | ;; (defun ewoc-create (pretty-printer &optional header footer) |
| 98 | ;; (defalias 'ewoc-data 'ewoc--node-data) | 98 | ;; (defalias 'ewoc-data 'ewoc--node-data) |
| 99 | ;; (defun ewoc-set-data (node data) | ||
| 99 | ;; (defun ewoc-location (node) | 100 | ;; (defun ewoc-location (node) |
| 100 | ;; (defun ewoc-enter-first (ewoc data) | 101 | ;; (defun ewoc-enter-first (ewoc data) |
| 101 | ;; (defun ewoc-enter-last (ewoc data) | 102 | ;; (defun ewoc-enter-last (ewoc data) |
| @@ -296,6 +297,10 @@ respectively, of the ewoc." | |||
| 296 | 297 | ||
| 297 | \(fn NODE)") | 298 | \(fn NODE)") |
| 298 | 299 | ||
| 300 | (defun ewoc-set-data (node data) | ||
| 301 | "Set NODE to encapsulate DATA." | ||
| 302 | (setf (ewoc--node-data node) data)) | ||
| 303 | |||
| 299 | (defun ewoc-enter-first (ewoc data) | 304 | (defun ewoc-enter-first (ewoc data) |
| 300 | "Enter DATA first in EWOC. | 305 | "Enter DATA first in EWOC. |
| 301 | Return the new node." | 306 | Return the new node." |