git: 9front

Download patch

ref: 699dfd14b1b8cdbf395718a07aec23fd7529fc32
parent: 5781896242818034875744e705bc476bb4347f5c
author: aiju <aiju@phicode.de>
date: Wed Aug 1 19:14:39 EDT 2012

make sam jump to changes made by undo

--- a/sys/src/cmd/sam/xec.c
+++ b/sys/src/cmd/sam/xec.c
@@ -277,6 +277,7 @@
 	else
 		while(n++ && undo(FALSE))
 			;
+	moveto(f, f->dot.r);
 	return TRUE;
 }
 
--