changeset 277:e52b6eb30408

move-to-first-bar twiddles (still needs sorting out) Ignore-this: 4c471ddccfb0e45addf5d632464fe31a darcs-hash:20090201210115-16a00-e33aac85b28b205292f8fff350f242bd1b9f63c2.gz
author j.forth <j.forth@gold.ac.uk>
date Sun, 01 Feb 2009 21:01:15 +0000
parents 3180b03d436a
children 8ec5cc5466fb
files base/generics.lisp base/methods.lisp
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/base/generics.lisp	Sat Jan 24 00:25:29 2009 +0000
+++ b/base/generics.lisp	Sun Feb 01 21:01:15 2009 +0000
@@ -459,5 +459,5 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Copying events in time
 
-(defgeneric move-to-first-bar (composition))
+(defgeneric move-to-first-bar (composition)) ;;this shouldn't be here
 
--- a/base/methods.lisp	Sat Jan 24 00:25:29 2009 +0000
+++ b/base/methods.lisp	Sun Feb 01 21:01:15 2009 +0000
@@ -570,7 +570,7 @@
 (defmethod move-to-first-bar ((composition composition))
   (let ((offset (floor (timepoint (car composition)))))
     (loop
-       for event in (%list-slot-sequence-data)
+       for event in (%list-slot-sequence-data composition)
        do (setf event (copy-event event))
        do (setf (timepoint event)
 		(- (timepoint event) offset))