changeset 70990:c54570f9431a

(ewoc--create): No longer take HEADER and FOOTER args. Update unique caller.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Sat, 27 May 2006 08:54:37 +0000
parents ada2d7961a39
children 989ad5a031e2
files lisp/emacs-lisp/ewoc.el
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emacs-lisp/ewoc.el	Sat May 27 08:46:03 2006 +0000
+++ b/lisp/emacs-lisp/ewoc.el	Sat May 27 08:54:37 2006 +0000
@@ -183,8 +183,7 @@
 
 (defstruct (ewoc
 	    (:constructor nil)
-	    (:constructor ewoc--create
-			  (buffer pretty-printer header footer dll))
+	    (:constructor ewoc--create (buffer pretty-printer dll))
 	    (:conc-name ewoc--))
   buffer pretty-printer header footer dll last-node)
 
@@ -280,9 +279,9 @@
          (dll (progn (setf (ewoc--node-right dummy-node) dummy-node)
                      (setf (ewoc--node-left dummy-node) dummy-node)
                      dummy-node))
-         (new-ewoc
-          (ewoc--create (current-buffer)
-                        pretty-printer nil nil dll))
+         (new-ewoc (ewoc--create (current-buffer)
+                                 pretty-printer
+                                 dll))
          (pos (point))
          head foot)
     (ewoc--set-buffer-bind-dll new-ewoc